Skip to content

Commit f5b4a5d

Browse files
committed
Configure 'test' workflow to cancel running jobs for the branch
1 parent 657ba9a commit f5b4a5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
branches:
1111
- "*"
1212

13+
# Cancel running jobs for the same workflow and branch.
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
jobs:
1419

1520
check-package:

0 commit comments

Comments
 (0)