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

This commit is contained in:
Felix Fontein
2026-05-31 17:33:16 +02:00
committed by GitHub
parent 42282e7d30
commit 4e4f65abdc
+5
View File
@@ -15,6 +15,11 @@ name: nox
- cron: '0 9 * * *'
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:
nox:
uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main