Skip to content

Commit d63a102

Browse files
committed
Update comment and output
1 parent cbe757f commit d63a102

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

entrypoint.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,12 @@ COMMIT_MESSAGE="${COMMIT_MESSAGE/ORIGIN_COMMIT/$ORIGIN_COMMIT}"
143143
COMMIT_MESSAGE="${COMMIT_MESSAGE/\$GITHUB_REF/$GITHUB_REF}"
144144

145145
echo "[+] Set directory is safe ($CLONE_DIR)"
146-
# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64 and https://github.com/cpina/github-action-push-to-another-repository/issues/64
147-
# TODO: review before releasing it as a version
146+
# Related to https://github.com/cpina/github-action-push-to-another-repository/issues/64
148147
git config --global --add safe.directory "$CLONE_DIR"
149148

150-
151149
if [ "$CREATE_TARGET_BRANCH_IF_NEEDED" = "true" ]
152150
then
151+
echo "[+] Switch to the TARGET_BRANCH"
153152
git switch -c "$TARGET_BRANCH"
154153
fi
155154

0 commit comments

Comments
 (0)