Skip to content

Commit dba96b3

Browse files
authored
Add GHA CI autocancel (#208)
1 parent a8b617e commit dba96b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
schedule:
88
- cron: '0 0 * * *'
99

10+
concurrency:
11+
# <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>
12+
group: ci-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}
13+
cancel-in-progress: true
14+
1015
jobs:
1116
tests:
1217
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)