fix release.yaml - #3616
Conversation
|
[CHATOPS:HELP] ChatOps commands.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe release workflow now passes ChangesRelease workflow
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This is a localized release-workflow change with no actionable merge-blocking risk remaining beyond normal checks and review. 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 |
Description
Create releasefailed with403 Resource not accessible by integration, so the v1.8.0 tag was pushed but no GitHub Release was created.softprops/action-gh-release@v2reads itstokeninput, which defaults to${{ github.token }}.The
env: GITHUB_TOKENwas therefore never used, and the job token - limited tocontents: read- was used instead.Passing the PAT through
with.tokenso the step authenticates as the same identity asCreate release tagabove it.Granting
contents: writeinstead would also fix the 403, but the release would then be created byGITHUB_TOKEN, which does not triggerbuild-binaries.yaml(on: release: type: [created]).Related Issue
Versions
Checklist
Special notes for your reviewer