Skip to content

Commit f009009

Browse files
authored
Quiet Repo Sync Stalls during Freezes (#17921)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
1 parent 8148677 commit f009009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/repo-sync-stalls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
})
6161
- name: Send Slack notification if workflow fails
6262
uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd
63-
if: failure()
63+
if: ${{ failure() && env.FREEZE != 'true' }}
6464
with:
6565
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
6666
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

0 commit comments

Comments
 (0)