Update links.yml

This commit is contained in:
Jake Henning 2021-12-27 23:19:55 +02:00 committed by GitHub
parent eddc862320
commit 110abddd13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,19 +41,12 @@ jobs:
- name: Slack Notification
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: tiloio/slack-webhook-action@v1.0.1
uses: tokorom/action-slack-incoming-webhook@main
env:
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
with:
slack_web_hook_url: ${{ secrets.SLACK_WEBHOOK }}
slack_json: |
{
"text": "Link Checker failure in github.com/allegroai/clearl-docs",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": $REPORT
}
}
blocks: |
[
{"type": "section", "text": {"type": "mrkdwn", "text": ":warning: Link Checker failure in github.com/allegroai/clearl-docs "}},
{"type": "section", "text": {"type": "mrkdwn", "text": $REPORT}}
]
}