From 87e2bb071556dd647f980c312ee88b31a618d8a6 Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 30 Nov 2020 14:34:31 +0000 Subject: [PATCH 1/2] Update action.yml Add failing check --- .github/workflows/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 29f70eb..487a930 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -20,3 +20,5 @@ jobs: title: Link Checker Report content-filepath: ./link-checker/out.md labels: links + - name: Fail if there were link errors + run: exit ${{ steps.lc.outputs.exit_code }} From f89315c59822ca5911c06a082425b162e10705d7 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 1 Dec 2020 08:13:05 +0000 Subject: [PATCH 2/2] Update action.yml --- .github/workflows/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 487a930..353c641 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -11,6 +11,7 @@ jobs: steps: - uses: actions/checkout@master - uses: peter-evans/link-checker@v1 + id: lc with: # Only check external links args: -v -x "^[^:]+$|^https://uk\.farnell\.com/|^https://www\.kitronik\.co\.uk/pdf/bbc_microbit_mechanical_datasheet_V2\.pdf$" -d . -t 30 -r *