Auto-cancel older PR nox runs. (#1268) (#1269)

(cherry picked from commit 4e4f65abdc)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2026-06-01 07:05:18 +02:00 committed by GitHub
parent a46ad759df
commit 231c500bfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,11 @@ name: nox
- cron: '0 9 * * *' - cron: '0 9 * * *'
workflow_dispatch: workflow_dispatch:
concurrency:
# Make sure there is at most one active run per PR, but do not cancel any non-PR runs
group: ${{ github.workflow }}-${{ (github.head_ref && github.event.number) || github.run_id }}
cancel-in-progress: true
jobs: jobs:
nox: nox:
uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main