feat(setup-remotes): pin branch.main.pushRemote to origin

Direct pushes on the canonical branch now target upstream instead of
the personal fork whose branch-protection rules can diverge. Feature
branches still fall back to the fork via remote.pushDefault.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-24 23:36:10 +02:00
parent 921d84aa67
commit e9653cff2e
6 changed files with 65 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
## [1.1.0] - 2026-04-24
* `git-setup-remotes` now pins `branch.main.pushRemote` to `origin` so direct pushes on the canonical branch never target the personal fork.
## [1.0.0] - 2026-04-24
* Official Release🚀