Add setup-buildx-action to release workflow; bump action versions + pin#39
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request updates GitHub Actions workflows to pin several actions to specific commit SHAs instead of tag-based versions. In the release workflow, actions including setup-go, docker/setup-qemu-action, docker/login-action, actions/checkout, and goreleaser-action are replaced with commit-pinned references and a docker/setup-buildx-action step is added between QEMU setup and registry login. In the test workflow, setup-go, checkout, and cache actions are similarly pinned to exact commits. Workflow structure and conditional logic remain unchanged; inline comments record prior tag versions. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/release.yaml:
- Around line 43-46: The workflow currently pins the action by commit but passes
"version: latest" to the goreleaser action, which makes releases
non-deterministic; update the "with: version" value used with
goreleaser/goreleaser-action (the entry that currently reads version: latest) to
a fixed release tag or a semver constraint (e.g., a specific tag like v2.12.0 or
a constraint such as "~> v2.12.0") so the GoReleaser binary is pinned and builds
are reproducible.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: 38542e71-77e5-4e56-a231-cbdff7ec4826
📒 Files selected for processing (2)
.github/workflows/release.yaml.github/workflows/test.yaml
Our release workflow stopped working, presumably because a newer version of
goreleaserstarted adding the--attest=type=sbomflag to the docker build command which requires Docker Buildx.Other actions in our workflows have also been updated and pinned.