-
-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Labels
Description
git-auto-commit Version
4.16.0 / latest
Machine Type
Ubuntu (eg. ubuntu-latest)
Bug description
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.head_ref || github.ref_name }}.changes
# create_branch: true
push_options: '--force'
commit_message: Unit Changes
commit_user_name: Bot
commit_user_email: bot@example.com
commit_author: Bot <bot@example.com>
cannot force push the remote branch even if it exists remotely
Expected behaviout
Notice, the create_branch option in the repro above is commented/disabled. When enabled, all works as expected.
create_branch should apply for remote branch creation only. In CI, an option for creating local branch has almost no sense. The important thing is if the branch is existing on the remote or not.
Reactions are currently unavailable