Skip to content

Commit 8e0fe91

Browse files
dbrattligithub-actions[bot]Copilot
authored
ci: Add CI concurrency settings to cancel superseded PR runs (#4546)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b33c5fa commit 8e0fe91

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [main]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
12+
913
permissions:
1014
id-token: write
1115
security-events: write

0 commit comments

Comments
 (0)