Skip to content

Commit

Permalink
CI: Group by workflow & ref and cancel stale executions
Browse files Browse the repository at this point in the history
This should cancel runs when pushing again to a PR.
  • Loading branch information
badboy committed Mar 29, 2023
1 parent 110fd90 commit 55a5a4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
push:
branches: main

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

env:
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 0
Expand Down

0 comments on commit 55a5a4d

Please sign in to comment.