Fix auto-release: call the publish job directly instead of a PAT - #25
Merged
Conversation
The just-merged auto-release.yml relied on gh release create triggering python-publish.yml's release: published listener, using a RELEASE_TOKEN PAT secret to work around GitHub Actions not letting the default GITHUB_TOKEN fire other workflows. That secret was never configured, so the first real run (for 0.4.0) failed cleanly at the release-creation step with no PyPI publish. Simpler fix: python-publish.yml gains a workflow_call trigger, and auto-release.yml calls its deploy job directly instead of going through a second, separately-triggered workflow run. Since it's all one run, there's nothing to "trigger" and thus no GITHUB_TOKEN restriction to work around -- no PAT/secret needed at all. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FPDh1XcpTJT48Tw27fD7Ms
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.
No description provided.