Skip to content

ci: release with release-please instead of semantic-release - #290

Merged
mcaulifn merged 1 commit into
mainfrom
release-please
Dec 2, 2026
Merged

mcaulifn merged 1 commit into
mainfrom
release-please

Conversation

@mcaulifn

@mcaulifn mcaulifn commented Dec 2, 2026

Copy link
Copy Markdown
Member

Why

Every Release run on main currently fails: release.yaml authenticates semantic-release with the GH_PERSONAL_ACCESS_TOKEN secret, which has expired. Rather than re-pointing semantic-release at GITHUB_TOKEN (#289), the release process moves to release-please.

What changed

  • release.yaml now runs googleapis/release-please-action@v5.0.0 on push to main, with release-please-config.json and .release-please-manifest.json at the repo root (release-type simple, include-component-in-tag: false, baseline v2.4.4), plus a publish job that checks out the tag, builds, and attaches proxy-lambda.zip to the release.
  • .releaserc.yaml deleted.
  • publish.yaml unchanged — it still fires if a maintainer manually edits/publishes a release and re-uploads the same asset (harmless duplication).
  • First run after merge opens a release PR for 2.4.5 (the two pending fix: commits, fix(ci): use GITHUB_TOKEN to check out the docs job #287 and Update dependencies #288).

Maintainer notes

  • Requires "Allow GitHub Actions to create and approve pull requests" (Settings → Actions → General → Workflow permissions) — release-please opens its release PR with GITHUB_TOKEN.
  • Release PRs created with GITHUB_TOKEN do not trigger test.yaml by themselves; their diff is only CHANGELOG.md + manifest. If branch protection requires checks, push an empty commit to the release branch or close/reopen the release PR.
  • Versioning vs the old semantic-release config: BREAKING CHANGE: footer or ! → major, feat → minor, everything else releasable → patch; docs and refactor stay visible sections. type: breaking and scope: no-release are no longer expressible — use feat!:/fix!: or hidden types (chore, ci, test, build, style).
  • GH_PERSONAL_ACCESS_TOKEN is no longer used by this workflow; it can be removed from repo secrets once other uses are checked (github-ip-ranges.yaml still 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

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>
@mcaulifn
mcaulifn requested a review from a team as a code owner December 2, 2026 15:44
@mcaulifn
mcaulifn merged commit e423447 into main Dec 2, 2026
4 checks passed
@mcaulifn
mcaulifn deleted the release-please branch December 2, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant