Repository navigation
fix(hotfix-redirector): sign the cherry-pick so redirected security PRs aren't blocked - #259
Merged
Merged
Conversation
…Rs aren't blocked The dependabot-security redirect path cherry-picks the update commit(s) onto `hotfixes` with a local `git cherry-pick` + `git push`, but the reusable only wired the App token — never the bot's GPG signing key — and committed under the App-slug identity. The pushed commit was therefore UNSIGNED, so every redirected security PR sat at `mergeable_state: blocked` under required-signatures with no failing check naming the cause. It's a workflow-wiring gap, not a bad key: the cldmv-bot GPG key already signs the lint/format-autofix and coverage-badge push commits; the redirector just never imported it. Wire signing the same way reusable-lint-format.yml / reusable-coverage-badge.yml do: - workflow-hotfix-redirector.yml: accept optional BOT_NAME / BOT_EMAIL / BOT_GPG_PRIVATE_KEY / BOT_GPG_PASSPHRASE secrets; import the key (crazy-max, pinned) and author the cherry-pick under the real-user bot identity that owns the key (the App noreply email would never verify), all gated on the key being present so the plain-hotfix base-PATCH path is unaffected. - redirect-hotfix-pr: cherry-pick with `-S`; add commit-signing to the loud cherry-pick prereq check so a caller missing the GPG secrets fails with a named cause instead of pushing another silently-blocked commit; refuse to push a `%G? == N` (unsigned) commit as defence in depth. - local-hotfix-redirector.yml + the release-flow-v4 example: map the four CLDMV_BOT_* signing secrets. Fixes #257
Shinrai
approved these changes
Sep 3, 2026
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors