mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2026-06-16 16:38:51 +00:00
Checkout to a local temp branch
This commit is contained in:
parent
dd055f6225
commit
f3700537e7
@ -45,10 +45,13 @@ _setup_git ( ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_switch_to_branch() {
|
_switch_to_branch() {
|
||||||
echo "INPUT_BRANCH value: $INPUT_BRANCH";
|
# echo "INPUT_BRANCH value: $INPUT_BRANCH";
|
||||||
|
|
||||||
# Switch to branch from current Workflow run
|
# 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() {
|
_add_files() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user