diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-25 11:07:52 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-12-25 11:11:54 -0500 |
commit | 094c3f2b540dac4f19e545c077ff91d7b8cd5a90 (patch) | |
tree | 4776cec89aa7c9593cffe4a54dcca8dd9db6284a | |
parent | 4f952249072851677b88740fc2e457b08bf24f59 (diff) | |
download | rneovim-094c3f2b540dac4f19e545c077ff91d7b8cd5a90.tar.gz rneovim-094c3f2b540dac4f19e545c077ff91d7b8cd5a90.tar.bz2 rneovim-094c3f2b540dac4f19e545c077ff91d7b8cd5a90.zip |
ci: cancel in-progress CI if a PR is updated
[skip ci]
-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 }}) |