Repository navigation
Conversation
The Release workflow authenticated semantic-release with a personal access token that has expired, so every release run on main fails. Switch it to the built-in GITHUB_TOKEN and grant the job the contents, issues and pull-requests write permissions semantic-release needs. A release created with GITHUB_TOKEN does not trigger other workflows, so publish.yaml would no longer attach proxy-lambda.zip to new releases. The release job now builds the Lambda zip before running semantic-release, and @semantic-release/github uploads it as the release asset already configured in .releaserc.yaml. The job also exposes new_release_published and new_release_git_tag as outputs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Member
Author
|
Closing in favour of #290 — the release route moves to release-please. |
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
The
Releaseworkflow runs semantic-release withsecrets.GH_PERSONAL_ACCESS_TOKEN. That token no longer works: every Release run onmainon 2026-12-02 failed, andgithub-ip-ranges.yaml, which uses the same secret, has failed since 2026-11-22 (last green 2026-11-15).What changed
.github/workflows/release.yamlonly:secrets.GITHUB_TOKEN, and the job hascontents,issuesandpull-requestswrite permissions.publish.yamlruns onrelease: published, and a release created withGITHUB_TOKENdoes not trigger other workflows. So the release job now builds the Lambda zip (the same Build, Inject Mozilla Cert Bundles and Zip Lambda steps aspublish.yaml) before semantic-release, and@semantic-release/githubuploadsproxy-lambda.zipas the asset already listed in.releaserc.yaml.new_release_publishedandnew_release_git_tagas outputs.Checked
.releaserc.yamlhas only commit-analyzer, release-notes-generator and@semantic-release/github, so nothing pushes a commit tomain. Themainruleset has no restriction that blocksGITHUB_TOKENfrom creating the tag and release.actionlintis clean for this file.publish.yaml.Notes
main, including pushes that produce no release, and a build failure blocks the release.publish.yamlis unchanged, so manually editing or publishing a release still triggers it.github-ip-ranges.yamlstill uses the old secret and is not changed here.🤖 Generated with Claude Code