We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127155c commit 2eee632Copy full SHA for 2eee632
entrypoint.sh
@@ -117,7 +117,13 @@ git remote add origin "${remote_repo}"
117
git add --all
118
119
print_info "Allowing empty commits: ${INPUT_EMPTYCOMMITS}"
120
-COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
+
121
+if [ -n "${EXTERNAL_REPOSITORY}" ]; then
122
+ COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_REPOSITORY}@${GITHUB_SHA}"
123
+else
124
+ COMMIT_MESSAGE="Automated deployment: $(date -u) ${GITHUB_SHA}"
125
+fi
126
127
if [[ ${INPUT_EMPTYCOMMITS} == "false" ]]; then
128
git commit -m "${COMMIT_MESSAGE}" || skip
129
else
0 commit comments