Skip to content

fix(release): avoid protected branch writes during publish#626

Merged
EivMeyer merged 1 commit into
devfrom
codex/release-remove-git-plugin
Jul 11, 2026
Merged

fix(release): avoid protected branch writes during publish#626
EivMeyer merged 1 commit into
devfrom
codex/release-remove-git-plugin

Conversation

@EivMeyer

Copy link
Copy Markdown
Collaborator

Summary

  • remove semantic-release changelog/git prepare plugins that write release artifacts back to main
  • keep commit analysis, release notes, npm publishing, and GitHub release publishing

Why

The #625 release run computed 6.5.0, then failed because @semantic-release/git ran git push --tags ... HEAD:main; branch protection rejected the generated commit because main requires PR + merge queue.

Verification

  • node -e "JSON.parse(require('fs').readFileSync('.releaserc.json','utf8')); console.log('releaserc json ok')"

@EivMeyer
EivMeyer added this pull request to the merge queue Jul 11, 2026
Merged via the queue into dev with commit 6852b38 Jul 11, 2026
4 checks passed
@EivMeyer
EivMeyer deleted the codex/release-remove-git-plugin branch July 11, 2026 14:31
AtulWanve pushed a commit to AtulWanve/zeroshot that referenced this pull request Jul 12, 2026
…the-open-engine#627)

Release promotion of `dev` -> `main` after the-open-engine#626.

## Why
The prior release run for the-open-engine#625 correctly computed `6.5.0`, but failed
when `@semantic-release/git` tried to push generated package/changelog
changes directly to protected `main`.

the-open-engine#626 removes release-time branch writes while keeping semantic-release
npm and GitHub release publishing.

## Diff

- `.releaserc.json`: remove changelog/git prepare plugins that push
commits to `main`

## Verification

- the-open-engine#626 PR CI passed
- the-open-engine#626 merge-queue CI passed
- previous failed release log showed analyzer computed `6.5.0`; failure
was only protected branch rejection from `@semantic-release/git`

---------

Co-authored-by: tomdps <60640908+tomdps@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: tomdps <tom.dupuis24@gmail.com>
Co-authored-by: Eivind Meyer <eivind.meyer@ksat.no>
Co-authored-by: Michael Eichelbeck <141341133+mkceichelbeck@users.noreply.github.com>
Co-authored-by: Michael Eichelbeck <michael.eichelbeck.ext@wtsde.onmicrosoft.de>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-38-53.eu-north-1.compute.internal>
Co-authored-by: Eivind <eivind@covibes.ai>
Co-authored-by: CI Test <ci-test@covibes.ai>
Co-authored-by: Codex <codex@example.com>
Co-authored-by: Atharv Singh <132380045+atharvwasthere@users.noreply.github.com>
Co-authored-by: Sense_wang <167664334+haosenwang1018@users.noreply.github.com>
Co-authored-by: haosenwang1018 <haosenwang1018@users.noreply.github.com>
Co-authored-by: Eivind <eivindcovibes.ai@Eivinds-MacBook-Pro.local>
Co-authored-by: Zeroshot Agent <agent@covibes.ai>
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