Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/eh-transport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ on:
branches: [main]

concurrency:
group: eh-transport-${{ github.ref }}
# Cancel superseded PR runs, never main runs — a busy merge day would
# otherwise starve the gate to zero executions.
group: eh-transport-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
# One group per main COMMIT, cancelling PR runs only. `cancel-in-progress:
# false` alone does not protect a `main` run: GitHub allows at most one
# PENDING run per group and cancels the previously pending one when a new run
# enters, regardless of that setting. That is #7205 — measured here as EIGHT
# consecutive `main` runs cancelled, zero executions. Keying push runs on the
# SHA gives every merged commit a group of its own.
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/llvm-inprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ on:
branches: [main]

concurrency:
group: llvm-inprocess-${{ github.ref }}
# Gate-trap 3: cancel superseded PR runs, but NEVER cancel main runs — a
# busy merge day would otherwise starve the gate to zero executions.
group: llvm-inprocess-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
# One group per main COMMIT, cancelling PR runs only. `cancel-in-progress:
# false` alone does not protect a `main` run: GitHub allows at most one
# PENDING run per group and cancels the previously pending one when a new run
# enters, regardless of that setting. That is #7205 — measured here as EIGHT
# consecutive `main` runs cancelled, zero executions. Keying push runs on the
# SHA gives every merged commit a group of its own.
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ permissions:
contents: read

concurrency:
group: security-audit-${{ github.ref }}
cancel-in-progress: true
# One group per main COMMIT, cancelling PR runs only. Two separate problems
# were live here, and this is a REQUIRED status check: it had NINE cancelled
# `main` runs and zero executions.
#
# `cancel-in-progress: true` cancels main runs outright, and even `false`
# would not have been enough — GitHub allows at most one PENDING run per
# group and cancels the previously pending one when a new run enters,
# regardless of that setting (#7205). Keying push runs on the SHA gives every
# merged commit a group of its own.
group: security-audit-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
security-audit:
Expand Down
Loading