Add GitHub Actions concurrency limits (#60194)

This commit is contained in:
Franck Nijhof 2021-11-23 10:05:48 +01:00 committed by GitHub
parent 39691faccc
commit 4aae088512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,10 @@ env:
PRE_COMMIT_CACHE: ~/.cache/pre-commit
SQLALCHEMY_WARN_20: 1
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# Separate job to pre-populate the base dependency cache
# This prevent upcoming jobs to do the same individually