BetaHuhn / repo-file-sync-action

🔄 GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.
https://github.com/marketplace/actions/repo-file-sync-action
MIT License
290 stars 84 forks source link

Fix SKIP_PR option for runs with installation token #232

Closed Nef10 closed 2 years ago

Nef10 commented 2 years ago

The original implementation for signed commits in #153 did not consider the SKIP_PR flag - if used together with an installation token it fails now.

This change adds support by: 1) comparing changes against the remote branch, as base branch and HEAD are the same 2) Skipping pr branch creation 3) using the base instead of the undefined prBranch as upload target

Fixes #207

BetaHuhnBot commented 2 years ago

:tada: This PR is included in version 1.17.20 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

BetaHuhn commented 2 years ago

Thanks @Nef10!