ci: fix sending Slack message in CI audit workflow (#47494)

This commit is contained in:
David Sanders
2025-06-23 02:23:39 -07:00
committed by GitHub
parent 60924690d9
commit 90a14299fd

View File

@@ -136,7 +136,7 @@ jobs:
await core.summary.write();
- name: Send Slack message if errors
if: ${{ steps.audit-errors.outputs.errorsFound && github.ref == 'refs/heads/main' }}
if: ${{ always() && steps.audit-errors.outputs.errorsFound && github.ref == 'refs/heads/main' }}
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
with:
payload: |