Skip to content

Commit

Permalink
GitHub: Auto-cancel PR builds when new changes are pushed (#972)
Browse files Browse the repository at this point in the history
* GitHub: Auto-cancel PR builds when new changes are pushed

* Update .github/workflows/PR.yml to trigger cancellation

* Undo extra whitespace
  • Loading branch information
bkeryan authored Oct 10, 2024
1 parent 4c0107a commit ebe576e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:
workflow_call:
workflow_dispatch:

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

jobs:
run_ci:
name: Run CI
uses: ./.github/workflows/CI.yml
uses: ./.github/workflows/CI.yml

0 comments on commit ebe576e

Please sign in to comment.