Skip to content

fix: remove @semantic-release/git plugin (blocked by branch protection)#11

Merged
tgaeta merged 1 commit intomainfrom
fix/remove-git-plugin
Feb 21, 2026
Merged

fix: remove @semantic-release/git plugin (blocked by branch protection)#11
tgaeta merged 1 commit intomainfrom
fix/remove-git-plugin

Conversation

@tgaeta
Copy link
Contributor

@tgaeta tgaeta commented Feb 21, 2026

Branch protection rules block CI from pushing directly to main, which breaks the @semantic-release/git plugin's version bump commit.

Removing it — npm publish still works via @semantic-release/npm, and release notes go to GitHub Releases via @semantic-release/github. The version bump commit back to the repo was a nice-to-have.

@tgaeta tgaeta force-pushed the fix/remove-git-plugin branch from a0484fa to 53728fe Compare February 21, 2026 19:59
The checkout action sets up git remote auth. Without explicit token,
git push uses GITHUB_TOKEN (no admin bypass). With GH_PAT (from repo admin),
pushes bypass branch protection rules.

Keeps @semantic-release/git — automatic version bumping stays.
@tgaeta tgaeta force-pushed the fix/remove-git-plugin branch from 53728fe to f5bf1bf Compare February 21, 2026 19:59
@tgaeta tgaeta merged commit 4417bba into main Feb 21, 2026
1 check passed
tgaeta pushed a commit that referenced this pull request Feb 21, 2026
## [1.4.2](v1.4.1...v1.4.2) (2026-02-21)

### Bug Fixes

* security hardening and package cleanup ([#10](#10)) ([b40a57b](b40a57b))
* use GH_PAT for checkout so semantic-release/git can push to main ([#11](#11)) ([4417bba](4417bba))
@tgaeta
Copy link
Contributor Author

tgaeta commented Feb 21, 2026

🎉 This PR is included in version 1.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant