Skip to content

Commit

Permalink
Automatically cancel outdated CI runs on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 24, 2023
1 parent ecc994e commit 65f0b07
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 @@ -20,6 +20,10 @@ defaults:
run:
shell: bash

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

jobs:
# Test crates on their minimum Rust versions and nightly Rust.
test:
Expand Down

0 comments on commit 65f0b07

Please sign in to comment.