mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
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.
This commit is contained in:
parent
8ef91cfef5
commit
fa2d428e43
1 changed files with 4 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue