Add gpg commit signature to the sync-manifests workflow - #337
Conversation
Signed-off-by: averevki <sandyverevkin@gmail.com>
📝 WalkthroughWalkthroughThis change adds ChangesWorkflow Signing Update
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/sync-authorino-manifests.yaml (1)
48-53: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
sign-commits: trueneeds a bot token here
peter-evans/create-pull-requestonly signs commits withGITHUB_TOKENor a GitHub App token; withsecrets.KUADRANT_DEV_PATthe PR is still created, but the commit remains unsigned. Switch this step to a bot-generated token, or dropsign-commitsif signed commits are not required.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/sync-authorino-manifests.yaml around lines 48 - 53, The create-pull-request step is configured to sign commits, but the current token is a personal access token rather than a bot-generated token, so the commit will not actually be signed. Update the token used by the peter-evans/create-pull-request action to a bot-compatible token such as GITHUB_TOKEN or a GitHub App token, or remove the sign-commits setting if signed commits are not required. Use the existing create-pull-request step configuration to locate and adjust the token/signing options together.Source: MCP tools
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In @.github/workflows/sync-authorino-manifests.yaml:
- Around line 48-53: The create-pull-request step is configured to sign commits,
but the current token is a personal access token rather than a bot-generated
token, so the commit will not actually be signed. Update the token used by the
peter-evans/create-pull-request action to a bot-compatible token such as
GITHUB_TOKEN or a GitHub App token, or remove the sign-commits setting if signed
commits are not required. Use the existing create-pull-request step
configuration to locate and adjust the token/signing options together.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 29c00790-132b-4def-9b0b-390200605aa1
📒 Files selected for processing (1)
.github/workflows/sync-authorino-manifests.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #337 +/- ##
=======================================
Coverage 57.20% 57.20%
=======================================
Files 13 13
Lines 1458 1458
=======================================
Hits 834 834
Misses 529 529
Partials 95 95
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sync-manifests PRs can't be merged without the verified commit signature, e.g. #336
Summary by CodeRabbit