Skip to content

Commit 61ee6d8

Browse files
authored
[CI] Do not cancel unfinished jobs on master branch (#147)
1 parent d8d9191 commit 61ee6d8

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
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1212
cancel-in-progress: true
1313

1414
jobs:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Static analysis
33
on: [pull_request]
44

55
concurrency:
6-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
77
cancel-in-progress: true
88

99
jobs:

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Static analysis
33
on: [push, pull_request]
44

55
concurrency:
6-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
77
cancel-in-progress: true
88

99
jobs:

0 commit comments

Comments
 (0)