diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-build.yml index 0243ca0596..4c8174a6c1 100644 --- a/.github/workflows/lint-test-build.yml +++ b/.github/workflows/lint-test-build.yml @@ -1,7 +1,9 @@ name: Lint-Test-Build on: + workflow_call: workflow_dispatch: pull_request: + jobs: lint_test_build: name: Lint, Test, Build diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 0d9a6e8374..e2982519a1 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -6,10 +6,18 @@ on: branches: - main - develop - - PRODENG-1577/kube_deployment + + +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: - release_deploy: - name: Release and Deploy + lint-test-build: + uses: ./lint-test-build.yml + + setup: + needs: [lint-test-build] runs-on: ubuntu-latest steps: # Envs based on the current branch @@ -85,6 +93,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + build_an_push: + needs: [setup] + runs-on: ubuntu-latest + steps: # Docs Site - name: Build and push docs site uses: docker/build-push-action@v2