Skip to content

ci: release on push to main #none - #55

Merged
nmichlo merged 1 commit into
mainfrom
ci/release-on-push
Sep 27, 2026
Merged

nmichlo merged 1 commit into
mainfrom
ci/release-on-push

Conversation

@nmichlo

@nmichlo nmichlo commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

What and why

TL;DR: release on push to main instead of on a closed pull request. A PR from a fork gets a read-only token, even after the merge, so its merge could never push the tag.

Part of the switch in nmichlo/.github#6 (merged).

Before -> after

before:  on: pull_request closed + push tags
after:   on: push to main + push tags
  • #patch etc. still come from the PR title: a squash merge copies it into the commit message.
  • No change to PyPI: the workflow file is still release.yaml.

@nmichlo
nmichlo merged commit af82d38 into main Sep 27, 2026
5 checks passed
@nmichlo
nmichlo deleted the ci/release-on-push branch September 27, 2026 19:47
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