Skip to content

Commit 388e978

Browse files
authored
linkcheck error fails the action. (#202)
* linkcheck error fails the action. * Add changelog fragment. * Add missing whatsnew for repo move.
1 parent 01b1a51 commit 388e978

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/ci-linkchecks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ jobs:
2626
title: Link Checker Report
2727
content-filepath: ./lychee/out.md
2828
labels: report, automated issue
29+
30+
- name: Fail Workflow On Link Errors
31+
if: steps.lychee.outputs.exit_code != 0
32+
run:
33+
exit ${{ steps.lychee.outputs.exit_code }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Moved repo to SciTools organisation.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
When a linkcheck fails, return that errorcode from the Linkcheck action.

0 commit comments

Comments
 (0)