You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: main.sh
+5-1
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,14 @@ if [[ -n "$SITE_NAME" ]]; then
61
61
fi
62
62
63
63
64
-
if [[ -z"$SLACK_MESSAGE" ]];then
64
+
if [[ -z"$SLACK_MESSAGE"&&"null"!="$COMMIT_MESSAGE"]];then
65
65
SLACK_MESSAGE="$COMMIT_MESSAGE"
66
66
fi
67
67
68
+
if [[ -z"$SLACK_MESSAGE" ]];then
69
+
SLACK_MESSAGE="Notification from action run \`$GITHUB_RUN_NUMBER\`, which ran against commit \`${GITHUB_SHA}\` from branch \`${GITHUB_BRANCH}\` of \`${GITHUB_REPOSITORY}\` repository."
0 commit comments