Skip to content

Commit 508cf83

Browse files
traskCopilot
andauthored
Stop cancelling non-PR workflow runs (#432)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 2e5afbc commit 508cf83

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Analyze (${{ matrix.language }})
2020
runs-on: ubuntu-latest
2121
concurrency:
22-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.language }}
22+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}-${{ matrix.language }}
2323
cancel-in-progress: true
2424
permissions:
2525
contents: read

‎.github/workflows/github-actions-queue-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
contents: read
2121

2222
concurrency:
23-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
23+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
2424
cancel-in-progress: true
2525

2626
jobs:

‎.github/workflows/pull-request-dashboard-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
contents: read
1313

1414
concurrency:
15-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
1616
cancel-in-progress: true
1717

1818
jobs:

0 commit comments

Comments
 (0)