Skip to content

fix(ci): fix semantic release by removing @semantic-release/git - #52

Merged
adriankulik merged 1 commit into
mainfrom
fix/semantic-release-pipeline
Oct 15, 2026
Merged

adriankulik merged 1 commit into
mainfrom
fix/semantic-release-pipeline

Conversation

@adriankulik

Copy link
Copy Markdown
Owner

Description

Removes .releaserc.json and @semantic-release/git.

Why

During automated release runs on main, @semantic-release/git attempted to push directly to refs/heads/main with git push --tags origin HEAD:main. This was rejected with:

remote: error: GH013: Repository rule violations found for refs/heads/main.
remote: - Changes must be made through a pull request.

Impact

  • Standard semantic-release defaults are restored.
  • @semantic-release/npm continues to update package.json in runner context and publish to npm with provenance/OIDC.
  • @semantic-release/github continues to create tags and GitHub releases via API without violating branch protection rules.
  • cli/index.js already dynamically resolves version and build date via git describe when running from source.

@adriankulik
adriankulik merged commit 1b62519 into main Oct 15, 2026
18 checks passed
@adriankulik
adriankulik deleted the fix/semantic-release-pipeline branch October 15, 2026 20:50
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.23.0 🎉

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