Skip to content

Commit

Permalink
Add job cancellation optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Jan 26, 2024
1 parent 7849fb5 commit 1c5d44a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
pull_request:

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

jobs:
swift-build-run:
runs-on: macOS-latest
Expand Down

0 comments on commit 1c5d44a

Please sign in to comment.