diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 89f427f274..34b6ca4781 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,5 +1,9 @@ name: Components Checks +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: paths: diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 7373affc38..cbc8c16560 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,6 +1,10 @@ --- name: Codespell +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: [master] diff --git a/.github/workflows/flyteidl-checks.yml b/.github/workflows/flyteidl-checks.yml index d59031f280..cbf84b97f1 100644 --- a/.github/workflows/flyteidl-checks.yml +++ b/.github/workflows/flyteidl-checks.yml @@ -1,5 +1,9 @@ name: Flyteidl Verification Tests +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: paths: diff --git a/.github/workflows/helm-charts.yaml b/.github/workflows/helm-charts.yaml index 6c9264e58e..5d5f4ca880 100644 --- a/.github/workflows/helm-charts.yaml +++ b/.github/workflows/helm-charts.yaml @@ -1,5 +1,9 @@ name: Package & Push Flyte Helm Charts +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: push: diff --git a/.github/workflows/sandbox.yml b/.github/workflows/sandbox.yml index e2edc878af..dc78d4b559 100644 --- a/.github/workflows/sandbox.yml +++ b/.github/workflows/sandbox.yml @@ -1,5 +1,9 @@ name: Build & Push Sandbox Docker Image +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: paths: diff --git a/.github/workflows/single-binary.yml b/.github/workflows/single-binary.yml index 94743ea35f..c75892a292 100644 --- a/.github/workflows/single-binary.yml +++ b/.github/workflows/single-binary.yml @@ -1,5 +1,9 @@ name: Build & Push Flyte Single Binary Images +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: paths: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d63baf6a5a..ba9208d4bd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,9 @@ name: tests + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/datacatalog/.github/workflows/checks.yml b/datacatalog/.github/workflows/checks.yml index 5c81a2f21c..82efe6c675 100644 --- a/datacatalog/.github/workflows/checks.yml +++ b/datacatalog/.github/workflows/checks.yml @@ -1,5 +1,9 @@ name: Datacatalog Checks +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: workflow_dispatch: pull_request: diff --git a/flyteadmin/.github/workflows/checks.yml b/flyteadmin/.github/workflows/checks.yml index 65c2573676..6451811c53 100644 --- a/flyteadmin/.github/workflows/checks.yml +++ b/flyteadmin/.github/workflows/checks.yml @@ -1,5 +1,9 @@ name: Flyteadmin Checks +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: workflow_dispatch: pull_request: diff --git a/flytecopilot/.github/workflows/checks.yml b/flytecopilot/.github/workflows/checks.yml index 43f82e5d39..a7e624f772 100644 --- a/flytecopilot/.github/workflows/checks.yml +++ b/flytecopilot/.github/workflows/checks.yml @@ -1,5 +1,9 @@ name: Flyte copilot Checks +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: workflow_dispatch: pull_request: diff --git a/flyteidl/.github/workflows/verification.yml b/flyteidl/.github/workflows/verification.yml index 3a15965727..bb8270a475 100644 --- a/flyteidl/.github/workflows/verification.yml +++ b/flyteidl/.github/workflows/verification.yml @@ -1,5 +1,9 @@ name: Verification Tests +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: push: diff --git a/flytepropeller/.github/workflows/checks.yml b/flytepropeller/.github/workflows/checks.yml index e1041998aa..acb7bde43d 100644 --- a/flytepropeller/.github/workflows/checks.yml +++ b/flytepropeller/.github/workflows/checks.yml @@ -1,5 +1,9 @@ name: Flytepropeller Checks +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: workflow_dispatch: pull_request: diff --git a/flytepropeller/.github/workflows/codeql-analysis.yml b/flytepropeller/.github/workflows/codeql-analysis.yml index 6e1f0c5113..4ddece498b 100644 --- a/flytepropeller/.github/workflows/codeql-analysis.yml +++ b/flytepropeller/.github/workflows/codeql-analysis.yml @@ -11,6 +11,10 @@ # name: "CodeQL" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: [ master ]