Skip to content

Commit

Permalink
[ci] Cancel outstanding workflows when new changes are added to PRs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Feb 4, 2025
1 parent 62c3d46 commit 30a64fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
pull_request:
workflow_dispatch:

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

jobs:
build:
name: Build ${{ matrix.artifact }}
Expand Down

0 comments on commit 30a64fd

Please sign in to comment.