diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 214195c7..bb434dca 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -36,10 +36,14 @@ jobs: env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: Read Markdown + - name: Read Results if: ${{ steps.lychee.outputs.exit_code != 0 }} run: echo "REPORT=$(echo jq -Rs '```.```' /tmp/links.json)" >> $GITHUB_ENV + - name: Echo Results + if: ${{ steps.lychee.outputs.exit_code != 0 }} + run: echo $REPORT + - name: Slack Notification if: ${{ steps.lychee.outputs.exit_code != 0 }} uses: tokorom/action-slack-incoming-webhook@main