Skip to content

Commit

Permalink
Merge pull request #203 from target/cancel-in-progress
Browse files Browse the repository at this point in the history
Cancel in progress CI jobs when there's a new commit on the branch
  • Loading branch information
colindean authored Nov 7, 2024
2 parents f6c3a57 + 85f4464 commit d291a47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
push:
branches: ['*']

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

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit d291a47

Please sign in to comment.