Skip to content

fix(ci): drop self-cancelling concurrency from security + release-please reusable workflows - #6

Merged
forkwright merged 1 commit into
mainfrom
fix/drop-self-cancelling-concurrency-security
Jul 1, 2026
Merged

forkwright merged 1 commit into
mainfrom
fix/drop-self-cancelling-concurrency-security

Conversation

@forkwright

Copy link
Copy Markdown
Owner

Finding

security.yml and release-please.yml reusable workflows had top-level concurrency: blocks. When called via uses:, the concurrency group key (github.workflow-github.ref) resolves to the SAME key as the calling workflow's own concurrency group. With cancel-in-progress: true in security.yml, each new invocation cancels the calling run before any jobs are created — producing the "0 jobs / failure in 1s / workflow file issue" symptom seen on theatron.

release-please.yml has cancel-in-progress: false but the same structural issue; removed for consistency and to prevent future breakage if cancel-in-progress is ever toggled.

Fix

Remove the concurrency: blocks from both reusable workflows. Identical to commit 66867bc which applied the same fix to gate-attestation.yml, codeql.yml, dependabot-auto-merge.yml, and no-ai-attribution.yml.

Callers that need per-repo concurrency control (theatron, etc.) set their own concurrency: block — reusable workflows should not override it.

…ase reusable workflows

security.yml had cancel-in-progress: true with the same group key as callers,
causing self-cancellation (0 jobs, failure in 1s). release-please.yml had the
same structural issue. Applied the same fix as 66867bc (gate-attestation, codeql,
dependabot-auto-merge, no-ai-attribution).
@forkwright
forkwright merged commit 8b79df3 into main Jul 1, 2026
1 check passed
@forkwright
forkwright deleted the fix/drop-self-cancelling-concurrency-security branch July 1, 2026 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant