Skip to content

Commit ff3fde4

Browse files
docubotpeterbe
andauthored
Delete orphaned assets (2023-03-30-17-41) (github#36039)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
1 parent 3a885d5 commit ff3fde4

70 files changed

Lines changed: 16 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/orphaned-assets-check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,12 @@ jobs:
6464
--body "Found with the find-orphaned-assets.js script" \
6565
--repo github/docs-internal \
6666
--label docs-content-fr
67+
68+
- name: Send Slack notification if workflow fails
69+
uses: someimportantcompany/github-actions-slack-message@1d367080235edfa53df415bd8e0bbab480f29bad
70+
if: ${{ failure() && env.FREEZE != 'true' }}
71+
with:
72+
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
73+
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
74+
color: failure
75+
text: The last "Orphaned assets check" run for ${{github.repository}} failed. See https://github.com/${{github.repository}}/actions/workflows/orphaned-assets-check.yml
-35 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-11.6 KB
Binary file not shown.
-9.79 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)