Skip to content

Commit

Permalink
Automatically cancel all outdated workflows on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 15, 2024
1 parent fb977ad commit 880172b
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 @@ -14,6 +14,10 @@ env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

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

0 comments on commit 880172b

Please sign in to comment.