File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ if ! git diff --cached --quiet --exit-code; then
4444 git fetch
4545
4646 # Verify if the branch needs to be created
47- if ! git rev-parse --verify --quiet " ${GITHUB_REF : 11} " ; then
47+ if ! git rev-parse --verify --quiet " $INPUT_REF " ; then
4848 echo " Creating branch..."
49- git branch " ${GITHUB_REF : 11} "
49+ git branch " $INPUT_REF "
5050 fi
5151
5252 # Switch to branch from current workflow run
5353 echo " Switching branch..."
54- git checkout " ${GITHUB_REF : 11} "
54+ git checkout " $INPUT_REF "
5555
5656 echo " Pulling from remote..."
5757 git fetch && git pull
@@ -69,7 +69,7 @@ if ! git diff --cached --quiet --exit-code; then
6969 git commit -m " $INPUT_MESSAGE " --author=" $INPUT_AUTHOR_NAME <$INPUT_AUTHOR_EMAIL >"
7070
7171 echo " Pushing to repo..."
72- git push --set-upstream origin " ${GITHUB_REF : 11} "
72+ git push --set-upstream origin " $INPUT_REF "
7373
7474 echo " ::endgroup::"
7575 echo " Task completed."
You can’t perform that action at this time.
0 commit comments