File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 6
6
# Allow manually triggering the workflow.
7
7
workflow_dispatch :
8
8
9
+ # Cancels all previous workflow runs for the same branch that have not yet completed.
10
+ concurrency :
11
+ # The concurrency group contains the workflow name and the branch name.
12
+ group : ${{ github.workflow }}-${{ github.head_ref }}
13
+ cancel-in-progress : true
14
+
9
15
jobs :
10
16
checkcs :
11
17
name : ' Check code style'
Original file line number Diff line number Diff line change 6
6
# Allow manually triggering the workflow.
7
7
workflow_dispatch :
8
8
9
+ # Cancels all previous workflow runs for the same branch that have not yet completed.
10
+ concurrency :
11
+ # The concurrency group contains the workflow name and the branch name.
12
+ group : ${{ github.workflow }}-${{ github.head_ref }}
13
+ cancel-in-progress : true
14
+
9
15
jobs :
10
16
test :
11
17
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments