diff --git a/.github/workflows/ci-linkchecks.yml b/.github/workflows/ci-linkchecks.yml index be60968..e3d9811 100644 --- a/.github/workflows/ci-linkchecks.yml +++ b/.github/workflows/ci-linkchecks.yml @@ -26,3 +26,8 @@ jobs: title: Link Checker Report content-filepath: ./lychee/out.md labels: report, automated issue + + - name: Fail Workflow On Link Errors + if: steps.lychee.outputs.exit_code != 0 + run: + exit ${{ steps.lychee.outputs.exit_code }} diff --git a/docs/changelog_fragments/192.dev.rst b/docs/changelog_fragments/192.dev.rst new file mode 100644 index 0000000..11a7801 --- /dev/null +++ b/docs/changelog_fragments/192.dev.rst @@ -0,0 +1 @@ +Moved repo to SciTools organisation. diff --git a/docs/changelog_fragments/202.dev.rst b/docs/changelog_fragments/202.dev.rst new file mode 100644 index 0000000..dc252df --- /dev/null +++ b/docs/changelog_fragments/202.dev.rst @@ -0,0 +1 @@ +When a linkcheck fails, return that errorcode from the Linkcheck action.