diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-25 12:03:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 12:03:01 -0500 |
commit | 9e93e5c0c8ea5bfe96f94e5c357d93f0315920e2 (patch) | |
tree | 4776cec89aa7c9593cffe4a54dcca8dd9db6284a | |
parent | 4f952249072851677b88740fc2e457b08bf24f59 (diff) | |
parent | 094c3f2b540dac4f19e545c077ff91d7b8cd5a90 (diff) | |
download | rneovim-9e93e5c0c8ea5bfe96f94e5c357d93f0315920e2.tar.gz rneovim-9e93e5c0c8ea5bfe96f94e5c357d93f0315920e2.tar.bz2 rneovim-9e93e5c0c8ea5bfe96f94e5c357d93f0315920e2.zip |
Merge pull request #16786 from jamessan/cancel-previous-ci
ci: cancel in-progress CI if a PR is updated
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a81ee4238..d2eef13098 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,11 @@ on: - 'master' - 'release-[0-9]+.[0-9]+' +# Cancel any in-progress CI runs for a PR if it is updated +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + jobs: unixish: name: ${{ matrix.runner }} ${{ matrix.flavor }} (cc=${{ matrix.cc }}) |