Skip to content

Commit f70a315

Browse files
committed
Cancel running workflows if a newer commit is pushed on the same branch
1 parent ca83f56 commit f70a315

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
permissions:
1616
contents: read
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
analyze:
2024
name: Analyze

0 commit comments

Comments
 (0)