diff --git a/.github/workflows/DependabotAutoMerge.yml b/.github/workflows/DependabotAutoMerge.yml index 44b814c..e24b444 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 960a549..5a9486f 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/RunicSuggestions.yml b/.github/workflows/RunicSuggestions.yml index 43c0768..50043e7 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 6e50b08..68235ed 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -1,5 +1,8 @@ name: Spell Check on: [pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: spellcheck: uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 2f82998..7b979a2 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