Skip to content

fix(hotfix-redirector): sign the cherry-pick so redirected security PRs aren't blocked - #259

Merged
Shinrai merged 1 commit into
nextfrom
fix/hotfix-redirector-sign-cherry-pick
Sep 3, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/hotfix-redirector-sign-cherry-pick

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(hotfix-redirector): sign the cherry-pick so redirected security PRs aren't blocked (de4f0c9)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

…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
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code type: ci Changes to CI workflows, actions, or build pipelines labels Sep 3, 2026
@Shinrai
Shinrai merged commit 3210697 into next Sep 3, 2026
16 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/hotfix-redirector-sign-cherry-pick branch September 3, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant