Skip to content

Commit

Permalink
Use a concurrency group to cancel running jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor committed Nov 27, 2023
1 parent 6c8f477 commit 296bd2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
# This job exists so that PRs from outside the main repo are rejected
fail_on_remote:
Expand Down

0 comments on commit 296bd2f

Please sign in to comment.