File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ slack_format_docker_PR_message() {
415415EOF
416416}
417417
418- slack_format_docker_PR_failed_message () {
418+ slack_format_failure_message () {
419419 header=$1
420420 workflow_url=$2
421421 footer=$3
Original file line number Diff line number Diff line change @@ -110,4 +110,4 @@ jobs:
110110 . ${GITHUB_WORKSPACE}/.github/actions/common/func.sh
111111
112112 echo "$image_urls" | slack_format_docker_image_urls_message "${{ inputs.release_tag }}" "$footer" \
113- | curl -d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
113+ | curl -s --fail-with-body - d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ jobs:
151151 . ${GITHUB_WORKSPACE}/.github/actions/common/func.sh
152152
153153 slack_format_docker_PR_message "${{ steps.parse-release.outputs.release_version }}" "${{ steps.create-pr.outputs.pull-request-url }}" "$footer" \
154- | curl -d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
154+ | curl -s --fail-with-body - d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
155155
156156 - name : Send Failure Slack notification
157157 if : failure()
@@ -162,4 +162,4 @@ jobs:
162162 . ${GITHUB_WORKSPACE}/.github/actions/common/func.sh
163163
164164 slack_format_failure_message "Docker PR failed for Redis: ${{ steps.parse-release.outputs.release_version || 'unknown'}}" "$workflow_url" "$footer" \
165- | curl -d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
165+ | curl -s --fail-with-body - d@- "${{ secrets.SLACK_WEB_HOOK_URL }}"
You can’t perform that action at this time.
0 commit comments