Skip to content

Push version bumps directly to the branch - #15

Merged
scothis merged 1 commit into
componentized:mainfrom
scothis:publish-polish
Oct 6, 2026
Merged

scothis merged 1 commit into
componentized:mainfrom
scothis:publish-polish

Conversation

@scothis

@scothis scothis commented Oct 6, 2026

Copy link
Copy Markdown
Member
  • push the bump commit to the branch the workflow runs on rather than opening a pull request, the custodian app bypasses the required CI check, the bump job builds and tests the changes
  • author and commit as the custodian app so GitHub signs the commit, crediting the user who triggered the workflow as a co-author
  • check the version is valid semver without build metadata
  • tag releases as v, then run the workflow again to bump to the next patch dev version, e.g. 0.1.0 is followed by 0.1.1-dev
  • don't ignore bump-version/* branches in CI, they're no longer created

- push the bump commit to the branch the workflow runs on rather than
  opening a pull request, the custodian app bypasses the required CI
  check, the bump job builds and tests the changes
- author and commit as the custodian app so GitHub signs the commit,
  crediting the user who triggered the workflow as a co-author
- check the version is valid semver without build metadata
- tag releases as v<version>, then run the workflow again to bump to
  the next patch dev version, e.g. 0.1.0 is followed by 0.1.1-dev
- don't ignore bump-version/* branches in CI, they're no longer created

Signed-off-by: Scott Andrews <scott@andrews.me>
@scothis
scothis merged commit 645ecff into componentized:main Oct 6, 2026
8 checks passed
@scothis
scothis deleted the publish-polish branch October 6, 2026 02:40
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