stefanzweifel / git-auto-commit-action

Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
MIT License
1.98k stars 227 forks source link

Feature: Create a new branch, if the given branch name doesn't exist yet #140

Closed stefanzweifel closed 3 years ago

stefanzweifel commented 3 years ago

Closes #139.

During _switch_to_branch we will now create a new branch matching the given input value, if it doesn't exist yet.

markuspoerschke commented 3 years ago

I tested this branch in this GitHub Action: https://github.com/markuspoerschke/extractum/runs/1943077521?check_suite_focus=true#step:4:1

I can confirm that it works as expected. 👍🏻

stefanzweifel commented 3 years ago

@markuspoerschke Thanks for testing. I think I will merge and tags this PR, as it could/should solve the problems mentioned in #141.