feat(release): build/upload gvproxy/initramfs/rootfs - #622
Conversation
📝 WalkthroughWalkthroughAdds a new ChangesGuest release artifacts
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/release.yml (1)
275-277: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winInconsistent
persist-credentialshardening across jobs.This checkout step sets
persist-credentials: false, buttest,build-release-linux-amd64,build-release-linux-arm64, andrelease(the job withcontents: write/id-token: writepermissions) do not. This is the exact pattern flagged previously — apply consistently across all workflow checkout steps, or omit it here to match current file convention.Based on learnings, in this repo don't harden individual
actions/checkoutsteps withpersist-credentials: falseonly in some jobs — apply it repo-wide if adopted, since previously "don’t harden individualactions/checkoutsteps by addingpersist-credentials: falseonly in one workflow/step."🤖 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/release.yml around lines 275 - 277, Make the checkout credential hardening consistent across the workflow: this `actions/checkout` step in the release job uses `persist-credentials: false`, but the `test`, `build-release-linux-amd64`, `build-release-linux-arm64`, and `release` jobs do not. Either apply `persist-credentials: false` to all `actions/checkout` steps in this workflow (including the other jobs) or remove it here to match the repo’s current convention; use the existing `actions/checkout` steps in these jobs as the places to update.Source: Learnings
🤖 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.
Nitpick comments:
In @.github/workflows/release.yml:
- Around line 275-277: Make the checkout credential hardening consistent across
the workflow: this `actions/checkout` step in the release job uses
`persist-credentials: false`, but the `test`, `build-release-linux-amd64`,
`build-release-linux-arm64`, and `release` jobs do not. Either apply
`persist-credentials: false` to all `actions/checkout` steps in this workflow
(including the other jobs) or remove it here to match the repo’s current
convention; use the existing `actions/checkout` steps in these jobs as the
places to update.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f32db411-e59a-4927-82fd-c4da04562f76
📒 Files selected for processing (2)
.github/workflows/release.ymlscripts/fetch-gvproxy.sh
Builds:
The x86_64/aarch64 strings that remain are only script arguments — fetch-artifact.sh's --arch value and build-initramfs.sh's rust target triples, which must stay in that form.
Summary by CodeRabbit
New Features
Bug Fixes