Skip to content

Commit

Permalink
Cancel previous CI runs when PR is repushed (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed May 3, 2023
1 parent c7581b8 commit d5def15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
test:
timeout-minutes: 30
Expand Down

0 comments on commit d5def15

Please sign in to comment.