ci: add weekly tag + release workflow#2744
Conversation
Adds a scheduled workflow that creates a new minor-bumped tag and GitHub release every Monday. It uses the custom GH_TOKEN PAT so the `release: published` event triggers the existing images.yml docker publish workflow (the default GITHUB_TOKEN would not). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA new GitHub Actions workflow ChangesWeekly Release Workflow
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
What
Adds a new scheduled GitHub Actions workflow (
.github/workflows/weekly-release.yml) that creates a fresh tag + GitHub release every week.workflow_dispatchfor manual runs).vX.Y.Ztag and bumping the minor (e.g.v1.4.0→v1.5.0), defaulting tov0.1.0if none exist.mainwith auto-generated notes viagh release create.Why it triggers the existing docker publish
The existing
images.ymlworkflow already builds and publishes the docker images onrelease: [published]. The key detail: the defaultGITHUB_TOKENdoes not trigger downstream workflow events (GitHub's recursion guard). So this workflow uses the repo's existing custom PATsecrets.GH_TOKEN— the same tokenimage-actions.ymluses with the comment "use custom token so actions get triggered on push" — to create the release. This ensures therelease: publishedevent fires andimages.ymlruns the docker image publish.No application code changed; this is CI-only.
🤖 Generated with Claude Code
Summary by CodeRabbit