fix: sign release-plz release PR commits #109
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/emc!109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-plz-signed-commits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Rationale
Forgejo rejected the generated release-plz branch because the release commit was unverified. The release-plz commit is created outside the checked-out repository, so the workflow needs global Git signing configuration in the same shell that runs release-plz.
Verification
This PR introduces a script to configure Git signing for release-plz using SSH or GPG keys, ensuring that release commits are verified. The changes appear safe to merge, but ensure that all environments have the necessary tools and secrets configured.
Walkthrough
RELEASE_SIGNING_KEYand configures signing accordingly.RELEASE_SIGNING_KEYin addition toRELEASE_PLZ_TOKEN.RELEASE_SIGNING_KEYrequirement for creating signed release PRs.LLM usage and cost
Estimated total USD: $0.023995 via https://api.openai.com and https://api.openai.com
🟡 Warning: The workflow now requires
RELEASE_SIGNING_KEYto proceed. Ensure that this secret is set in all environments where the workflow runs to prevent unintended skips.Handled auto_review warning on RELEASE_SIGNING_KEY availability: this workflow is guarded to run only for Slipstream/emc, and RELEASE_SIGNING_KEY has been configured as an organization secret for this repository. The README now documents the required signing secret and the workflow skips release PR creation if it is absent.