Skip to content

Commit

Permalink
Cancel in progress action when changes are pushed to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilzu committed Nov 30, 2024
1 parent a6e4edc commit 5d08419
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 @@ -6,6 +6,10 @@ on:
pull_request:
branches: ["main"]

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

jobs:
test:
name: Test
Expand Down

0 comments on commit 5d08419

Please sign in to comment.