Skip to content

ci: avoid pushing release commits to protected main - #11

Merged
ts-76 merged 1 commit into
mainfrom
develop
Mar 20, 2026
Merged

ts-76 merged 1 commit into
mainfrom
develop

Conversation

@ts-76

@ts-76 ts-76 commented Mar 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • stop the release workflow from creating and pushing release commits to main
  • create and push only a version tag from the already-merged main commit
  • keep tag-triggered GitHub Release and npm trusted publishing flow intact

Why

The repository requires pull requests for changes to main, so changelogen --push fails after creating the tag. This changes the workflow to work with branch protection instead of fighting it.

Follow-up

  • Remove the accidental remote tag �0.1.2
  • Bump package.json version in a PR before the next release, since releases are now tagged from the merged main commit instead of creating a release commit on CI

@ts-76
ts-76 merged commit e10a857 into main Mar 20, 2026
3 checks passed
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