From a044d0d36bbb66d92fc1c1f6d6af4d248f3c4249 Mon Sep 17 00:00:00 2001 From: Jake Henning <59198928+jkhenning@users.noreply.github.com> Date: Tue, 28 Dec 2021 16:39:22 +0200 Subject: [PATCH] Update links.yml --- .github/workflows/links.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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