Repository navigation
Description
What's happening
workflow-hotfix-redirector.yml@v4 cherry-picks a Dependabot (or hotfix/*/security/*) commit onto hotfixes and pushes the redirected PR branch, but the resulting commit is not GPG-signed. Every CLDMV branch requires signed commits, so the redirected PR is stuck at mergeable_state: blocked even though all CI checks pass and the PR is approved — there is no failing check that names the actual cause.
Evidence
CLDMV/holdmytask#24 (auto-created by the redirector from #23):
- All 12 check runs:
successorskipped— nothing failing. - Approved by a MEMBER.
- Head is current with
hotfixes(no rebase needed). mergeable_state: "blocked"anyway.
Comparing the raw commit objects explains why:
hotfixestip (a normal release commit, produced via the GitHub API/merge machinery):committer GitHub <[email protected]>, with agpgsigblock present — signed and Verified.- PR release: v3.8.0 - README + bootstrap + migration guide + root cleanup #24's head commit (
55c9beb, produced by the redirector's cherry-pick):committer cldmv-bot[bot] <230771808+cldmv-bot[bot]@users.noreply.github.com>— nogpgsigat all.
Root cause
.github/workflows/hotfix-redirector.yml (the thin per-repo caller) only maps BOT_APP_CLIENT_ID / BOT_APP_PRIVATE_KEY into the reusable workflow — the GitHub App identity/auth secrets. It does not pass any GPG signing secrets (the CLDMV_BOT_* signing key pair that other bot-push workflows — lint/format autofix, coverage-badge push — use). The reusable workflow does a local git cherry-pick + git push using only the App token, so the commit is authenticated as the bot but never actually signed.
Suggested fix
Either:
- Wire the
CLDMV_BOT_*GPG signing secrets intoworkflow-hotfix-redirector.yml's cherry-pick step (same pattern already used by the lint/format-autofix and coverage-badge-push jobs), so the cherry-picked commit is signed before push, or - Perform the cherry-pick via the GitHub Contents/Git Data API (as the release-commit path does) instead of a local
gitcherry-pick + push, so the commit is signed automatically asGitHub <[email protected]>.
Impact
Every redirected hotfix/security PR across every consumer repo on the v4 flow is affected — the PR looks fully green (checks pass, review approved) but silently cannot be merged, with no check or status explaining why. This is easy to mistake for a stuck bot or a ruleset misconfiguration on the consumer repo rather than a gap in the reusable workflow itself.
Activity
cldmv-bot commentedon Sep 3, 2026
Closed in v4.25.1 — resolved by #259.