Skip to content

Commit 2ff9a57

Browse files
authored
ci: avoid cancelling master workflow pushing on ci/* (#2219)
1 parent d8462db commit 2ff9a57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/macOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
concurrency:
2424
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25-
cancel-in-progress: true
25+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2626

2727
jobs:
2828
osx:

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
concurrency:
2424
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25-
cancel-in-progress: true
25+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2626

2727
jobs:
2828
windows:

0 commit comments

Comments
 (0)