Skip to content

Commit 020d973

Browse files
committed
set concurrency
1 parent 4d0f6ae commit 020d973

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ name: 'Build'
1212
branches:
1313
- master
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
17+
cancel-in-progress: true
18+
1519
permissions: {}
1620

1721
jobs:

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ name: 'CodeQL'
1515
schedule:
1616
- cron: '0 0 * * 4'
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
20+
cancel-in-progress: true
21+
1822
permissions: {}
1923

2024
jobs:

.github/workflows/curl-for-win.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ name: curl-for-win
1111
branches:
1212
- master
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
16+
cancel-in-progress: true
17+
1418
permissions: {}
1519

1620
env:

0 commit comments

Comments
 (0)