Skip to content

Commit

Permalink
cicd: cancel previous workflow on commit (#327)
Browse files Browse the repository at this point in the history
* cicd: cancel previous workflow on commit

* cicd: use concurrency for all jobs

---------

Co-authored-by: Konrad Dysput <konrad.dysput@saucelabs.com>
  • Loading branch information
konraddysput and Konrad Dysput authored Dec 16, 2024
1 parent ae136c9 commit 476b231
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [main, dev]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test_linux_all:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 476b231

Please sign in to comment.