Skip to content

Commit ca22ebc

Browse files
committed
gha: add concurrency check
add concurrency check in our workflows to ensure that only a single workflow using the same concurrency group will run at a time. more info: https://docs.github.com/en/actions/using-jobs/using-concurrency Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 905a8aa commit ca22ebc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ permissions:
1010
contents: read
1111

1212
on: [push, pull_request]
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
jobs:
1419
test:
1520
strategy:

0 commit comments

Comments
 (0)