Skip to content

Commit c07603c

Browse files
committed
[auto] Update compiled version
1 parent 9cd6e9c commit c07603c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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."

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)