diff options
author | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2021-12-03 14:37:04 +0000 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@users.noreply.github.com> | 2021-12-03 14:37:04 +0000 |
commit | fa2d428e436c26dc072744aadd4d5d58ea42b743 (patch) | |
tree | 78e3354ab38f8a88a1f5c7fe831404f579fbc382 /.github | |
parent | 8ef91cfef520ee4aa960c61099512a9b9ca98ab4 (diff) | |
download | pip-fa2d428e436c26dc072744aadd4d5d58ea42b743.tar.gz |
Autocancel repeated CI runs
This will ensure that any specific pull request (or commit) only has a
single CI run happening at any point in time.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f9243291..74ba34c6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ on: schedule: - cron: 0 0 * * MON # Run every Monday at 00:00 UTC +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + jobs: docs: name: docs |