Skip to content

Commit cbb8598

Browse files
committed
Bring these annotations up to date.
1 parent 3068d16 commit cbb8598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/slack-notifications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
- name: Prepare commit message.
146146
id: commit-message
147147
run: |
148+
# shellcheck disable=SC2016
148149
COMMIT_MESSAGE="$(echo "${COMMIT_MSG_RAW}" | awk 'NR==1' | sed 's/`/\\`/g' | sed 's/\"/\\\\\\"/g' | sed 's/\$/\\$/g')"
149150
echo commit_message_escaped="${COMMIT_MESSAGE}" >> "$GITHUB_OUTPUT"
150151
env:
@@ -159,7 +160,6 @@ jobs:
159160
--arg ref_name "${CURRENT_BRANCH}" \
160161
--arg run_url "https://github.com/WordPress/wordpress-develop/actions/runs/${GITHUB_RUN_ID}/attempts/${GITHUB_RUN_ATTEMPT}" \
161162
--arg commit_message "${COMMIT_MSG}" \
162-
# shellcheck disable=SC2016,SC2086 \
163163
'{workflow_name: $workflow_name, ref_name: $ref_name, run_url: $run_url, commit_message: $commit_message}'
164164
)"
165165
echo "payload=$PAYLOAD" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)