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 Mar 11, 2023
1 parent 4b9dddf commit 335b431
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 @@ -24,6 +24,10 @@ defaults:
run:
shell: bash

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

jobs:
test:
name: cargo test (${{ matrix.os }})
Expand Down

0 comments on commit 335b431

Please sign in to comment.