Checkout to a local temp branch

This commit is contained in:
Stefan Zweifel 2020-04-09 20:07:31 +02:00
parent dd055f6225
commit f3700537e7
1 changed files with 5 additions and 2 deletions

View File

@ -45,10 +45,13 @@ _setup_git ( ) {
}
_switch_to_branch() {
echo "INPUT_BRANCH value: $INPUT_BRANCH";
# echo "INPUT_BRANCH value: $INPUT_BRANCH";
# Switch to branch from current Workflow run
git checkout $INPUT_BRANCH
# git checkout $INPUT_BRANCH
git checkout -b git-auto-commit-temp-branch
}
_add_files() {