Skip to content

Commit 2709ac0

Browse files
authored
[CI] Do not cancel ongoing jobs on 'master' branch (#159)
1 parent 812626b commit 2709ac0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

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

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
12-
cancel-in-progress: true
12+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
1313

1414
jobs:
1515
ubuntu-gcc-build:

.github/workflows/static-analysis-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7-
cancel-in-progress: true
7+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
88

99
jobs:
1010
clang-tidy:

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
7-
cancel-in-progress: true
7+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
88

99
jobs:
1010
clang-format:

0 commit comments

Comments
 (0)