Repository navigation
Prepare version-bump PRs and publish after merge - #77
Closed
Dale (dalemyers) wants to merge 3 commits into
Closed
Dale (dalemyers) wants to merge 3 commits into
Dale (dalemyers) wants to merge 3 commits into
Conversation
Adapt asconnect's patch/minor/major release flow while retaining existing PyPI and TestPyPI publishing. Require a protected-branch release token for atomic version commit and tag pushes, and publish within the same workflow run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep main's pinned action updates alongside the manual release checkout configuration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a scoped GitHub App token to open normal version-bump PRs. Publish only actual version changes after they reach main, tagging the exact merged commit without pushing to protected branches. Preserve manual PyPI and TestPyPI publishing and document the credential-free manual PR path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.
Summary
Setup
For automated PR creation, install an organization-approved GitHub App with Contents: read/write and Pull requests: read/write. Configure RELEASE_APP_CLIENT_ID as an Actions variable and RELEASE_APP_PRIVATE_KEY as an Actions secret. The token is limited to this repository and these permissions. No RELEASE_TOKEN or permission-bypass setting is needed.
If App setup is unavailable, a maintainer can open the version-bump PR manually; the same post-merge publication runs without App credentials. Existing PyPI/TestPyPI trusted publishing remains in publish.yml. Tag rules must allow Actions to create release tags.
Validation