Repository navigation
ci: release with release-please instead of semantic-release - #290
Merged
Merged
Conversation
The Release workflow ran semantic-release with a personal access token that has expired, so every run on main fails. This switches to googleapis/release-please-action using the built-in GITHUB_TOKEN: release-please keeps a release pull request up to date from conventional commits, and merging it creates the tag and GitHub release. Because a release created with GITHUB_TOKEN does not trigger other workflows, the Lambda zip is now built and attached to the release by a publish job in the same workflow. The existing versioning is kept (manifest starts at 2.4.4, tags stay vX.Y.Z) and docs and refactor commits still produce a patch release. .releaserc.yaml is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Every Release run on
maincurrently fails:release.yamlauthenticates semantic-release with theGH_PERSONAL_ACCESS_TOKENsecret, which has expired. Rather than re-pointing semantic-release atGITHUB_TOKEN(#289), the release process moves to release-please.What changed
release.yamlnow runsgoogleapis/release-please-action@v5.0.0on push tomain, withrelease-please-config.jsonand.release-please-manifest.jsonat the repo root (release-typesimple,include-component-in-tag: false, baselinev2.4.4), plus apublishjob that checks out the tag, builds, and attachesproxy-lambda.zipto the release..releaserc.yamldeleted.publish.yamlunchanged — it still fires if a maintainer manually edits/publishes a release and re-uploads the same asset (harmless duplication).fix:commits, fix(ci): use GITHUB_TOKEN to check out the docs job #287 and Update dependencies #288).Maintainer notes
GITHUB_TOKEN.GITHUB_TOKENdo not triggertest.yamlby themselves; their diff is onlyCHANGELOG.md+ manifest. If branch protection requires checks, push an empty commit to the release branch or close/reopen the release PR.BREAKING CHANGE:footer or!→ major,feat→ minor, everything else releasable → patch;docsandrefactorstay visible sections.type: breakingandscope: no-releaseare no longer expressible — usefeat!:/fix!:or hidden types (chore,ci,test,build,style).GH_PERSONAL_ACCESS_TOKENis no longer used by this workflow; it can be removed from repo secrets once other uses are checked (github-ip-ranges.yamlstill references it).Validation
actionlint clean on the new
release.yaml; prettier format-check clean on the new/changed files; config validated against the release-please 17.6.0 schema; action inputs/outputs checked against the README at v5.0.0. Build not run locally (no bun on the prep host) — CI covers it.🤖 Generated with Claude Code