Skip to content

Commit 476b231

Browse files
konraddysputKonrad Dysput
andauthored
cicd: cancel previous workflow on commit (#327)
* cicd: cancel previous workflow on commit * cicd: use concurrency for all jobs --------- Co-authored-by: Konrad Dysput <konrad.dysput@saucelabs.com>
1 parent ae136c9 commit 476b231

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main, dev]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
test_linux_all:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)