ci(coverage): cancel superseded PR runs

This commit is contained in:
overtrue
2026-08-23 04:31:40 +08:00
parent d3fe16442e
commit 2786c6813a
+4
View File
@@ -48,6 +48,10 @@ on:
# e2e-replication-nightly (04:00) and performance-ab (06:00) lanes. # e2e-replication-nightly (04:00) and performance-ab (06:00) lanes.
- cron: "43 7 * * 0" - cron: "43 7 * * 0"
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name != 'schedule' }}
# Only alert-on-failure needs more than read access; it declares its own # Only alert-on-failure needs more than read access; it declares its own
# job-level `issues: write`. # job-level `issues: write`.
permissions: permissions: