diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5853bb03..b4c015c5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,6 +10,9 @@ on: - master paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: tests: uses: "SciML/.github/.github/workflows/grouped-tests.yml@master" diff --git a/.github/workflows/DependabotAutoMerge.yml b/.github/workflows/DependabotAutoMerge.yml index 44b814c7..e24b444d 100644 --- a/.github/workflows/DependabotAutoMerge.yml +++ b/.github/workflows/DependabotAutoMerge.yml @@ -3,6 +3,9 @@ on: pull_request permissions: contents: write pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: automerge: uses: "SciML/.github/.github/workflows/dependabot-automerge.yml@v1" diff --git a/.github/workflows/DocPreviewCleanup.yml b/.github/workflows/DocPreviewCleanup.yml index 960a5492..5a9486f2 100644 --- a/.github/workflows/DocPreviewCleanup.yml +++ b/.github/workflows/DocPreviewCleanup.yml @@ -4,6 +4,9 @@ on: types: [closed] permissions: contents: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: cleanup: uses: "SciML/.github/.github/workflows/docs-preview-cleanup.yml@v1" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 3c30169b..b98b3cc1 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -8,6 +8,9 @@ on: tags: '*' pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: build: uses: "SciML/.github/.github/workflows/documentation.yml@v1" diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 0b1b6175..cd3ccb04 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -10,6 +10,9 @@ on: - master paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: test: strategy: diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 364a9cda..0dc6ae9f 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -8,6 +8,9 @@ on: tags: '*' pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: runic: uses: "SciML/.github/.github/workflows/runic.yml@v1" diff --git a/.github/workflows/RunicSuggestions.yml b/.github/workflows/RunicSuggestions.yml index 43c07684..50043e7e 100644 --- a/.github/workflows/RunicSuggestions.yml +++ b/.github/workflows/RunicSuggestions.yml @@ -3,6 +3,9 @@ on: pull_request permissions: contents: read pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: runic-suggestions: uses: "SciML/.github/.github/workflows/runic-suggestions-on-pr.yml@v1" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index 434bc767..4d2a95ee 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -2,6 +2,9 @@ name: Spell Check on: [pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: typos-check: uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 750b9670..0c5750a4 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -9,6 +9,9 @@ permissions: pull-requests: write contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: benchmark: runs-on: ubuntu-latest