releaser-pleaser/internal/git
Julian Tölle 81a855f5ab
feat: avoid pushing release branch only for rebasing (#114)
Right now releaser-pleaser pushes the branch even if it is only for a "rebase",
this wastes CI resources. Instead, it should only push when there are changes
to the files it owns.

- **Old**: Push when there is a diff origin/release-pr..release-pr
- **New**: Push when the these two diffs are not the same:
  
      origin/main..release-pr
      $(git merge-base origin/main origin/release-pr)..release-pr

Closes #92
2025-06-09 10:52:09 +02:00
..
git.go feat: avoid pushing release branch only for rebasing (#114) 2025-06-09 10:52:09 +02:00
git_test.go feat: avoid pushing release branch only for rebasing (#114) 2025-06-09 10:52:09 +02:00
util_test.go feat: avoid pushing release branch only for rebasing (#114) 2025-06-09 10:52:09 +02:00