Skip to content

Commit 6f3cb20

Browse files
heiskrCopilot
andauthored
Fix search indexing Slack alert failing on empty message (#59848)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a8bcc51 commit 6f3cb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/index-general-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ jobs:
285285
} >> "$GITHUB_OUTPUT"
286286
287287
- name: Send consolidated Slack notification
288-
if: ${{ steps.check-artifacts.outputs.has_artifacts == 'true' }}
288+
if: ${{ steps.check-artifacts.outputs.has_artifacts == 'true' && fromJSON(steps.aggregate.outputs.result).hasFailures }}
289289
uses: ./.github/actions/slack-alert
290290
with:
291291
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}

0 commit comments

Comments
 (0)