From ada7610ebc4ff16fbca25459e3cfbbb2b7272c7b Mon Sep 17 00:00:00 2001 From: Noam Wasersprung <51905810+ainoam@users.noreply.github.com> Date: Wed, 5 Jan 2022 16:20:30 +0200 Subject: [PATCH] Update links.yml --- .github/workflows/links.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 8530855b..c768d02f 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -30,23 +30,23 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v1.2.0 with: - format: json + #format: json args: --verbose --no-progress ${{ env.MD_FILES }} env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: Read Results - if: ${{ steps.lychee.outputs.exit_code != 0 }} - run: echo "FAILED_URLS=$(jq -r '.fail_map[] | .[] | .url' ./lychee/out.md)" >> $GITHUB_ENV + #- name: Read Results + # if: ${{ steps.lychee.outputs.exit_code != 0 }} + # run: echo "FAILED_URLS=$(jq -r '.fail_map[] | .[] | .url' ./lychee/out.md)" >> $GITHUB_ENV - - name: Slack Notification - if: ${{ steps.lychee.outputs.exit_code != 0 }} - uses: tokorom/action-slack-incoming-webhook@main - env: - INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} - with: - blocks: | - [ - {"type": "section", "text": {"type": "mrkdwn", "text": ":warning: Link Checker failure in github.com/allegroai/clearl-docs "}}, - {"type": "section", "text": {"type": "mrkdwn", "text": "$FAILED_URLS"}} - ] + #- name: Slack Notification + # if: ${{ steps.lychee.outputs.exit_code != 0 }} + # uses: tokorom/action-slack-incoming-webhook@main + # env: + # INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} + # with: + # blocks: | + # [ + # {"type": "section", "text": {"type": "mrkdwn", "text": ":warning: Link Checker failure in github.com/allegroai/clearl-docs "}}, + # {"type": "section", "text": {"type": "mrkdwn", "text": "$FAILED_URLS"}} + # ]