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 bd96d19 commit 80cb98a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
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 80cb98a

Please sign in to comment.