Conversation
The first automated release run (2.7.23) published and tagged fine, but release creation failed with 401 Bad credentials because MAIN_REPO_PAT is invalid/expired. - Create the release with GITHUB_TOKEN, which the workflow already has contents:write for, instead of the PAT. - Since GITHUB_TOKEN-created releases don't trigger on-release.yml, dispatch the android-release event to paywall-next directly from this workflow (still via MAIN_REPO_PAT, matching on-release.yml). - Gate release creation on whether the release exists rather than the tag, so a run that tagged but failed to create the release (like 2.7.23) self-heals on the next push to main. - Replace deprecated ::set-output usage with GITHUB_OUTPUT in the steps this change touches. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHtJcvAKTQPjshrN6pMidJ
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MHtJcvAKTQPjshrN6pMidJ
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.
Changes in this pull request
Checklist
CHANGELOG.mdfor any breaking changes, enhancements, or bug fixes.ktlintin the main directory and fixed any issues.