Skip to content

Commit

Permalink
Merge pull request #1316 from ychin/ci-cancel-old-pr-builds
Browse files Browse the repository at this point in the history
Cancel outstanding PR builds when pushing new commits
  • Loading branch information
ychin authored Oct 15, 2022
2 parents 31efe8c + 2be9502 commit 12dad97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-macvim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
pull_request:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

env:
MACOSX_DEPLOYMENT_TARGET: '10.9'

Expand Down

0 comments on commit 12dad97

Please sign in to comment.