From b886e148adcb2ae699d742ead61f1d72075e7245 Mon Sep 17 00:00:00 2001 From: Aidan McAlister Date: Wed, 15 Oct 2025 10:08:43 -0700 Subject: [PATCH 1/3] added workflow --- .github/workflows/lychee.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/lychee.yml diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml new file mode 100644 index 0000000000..6c87f778a7 --- /dev/null +++ b/.github/workflows/lychee.yml @@ -0,0 +1,42 @@ +name: Lychee Link Checker +on: [pull_request] + +jobs: + linkChecker: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/checkout@v4 + + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + fail: true + + - name: Create Issue From File + if: steps.lychee.outputs.exit_code != 0 + uses: peter-evans/create-issue-from-file@v5 + with: + title: Link Checker Report + content-filepath: ./lychee/out.md + labels: report, automated issue +# name: Linkspector +# on: [pull_request] +# jobs: +# check-links: +# name: runner / linkspector +# runs-on: ubuntu-22.04 +# permissions: +# contents: write +# steps: +# - uses: actions/checkout@v4 +# - name: Run linkspector +# uses: umbrelladocs/action-linkspector@v1.3.7 +# with: +# github_token: ${{ secrets.github_token }} +# reporter: github-pr-check +# fail_on_error: true +# filter_mode: nofilter +# config_file: .github/workflows/config/.linkspector.yml From a521a4be969b49de5372993ef11dd2e973d8529e Mon Sep 17 00:00:00 2001 From: Aidan McAlister Date: Wed, 15 Oct 2025 10:13:34 -0700 Subject: [PATCH 2/3] lychee checker updated --- .github/workflows/lychee.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 6c87f778a7..41cbc808b6 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -1,25 +1,26 @@ -name: Lychee Link Checker +name: Lychee on: [pull_request] jobs: - linkChecker: + lychee: runs-on: ubuntu-latest permissions: issues: write steps: - uses: actions/checkout@v4 - - name: Link Checker + - name: Lychee Link Checker id: lychee uses: lycheeverse/lychee-action@v2 with: fail: true + workingDirectory: "." - name: Create Issue From File if: steps.lychee.outputs.exit_code != 0 uses: peter-evans/create-issue-from-file@v5 with: - title: Link Checker Report + title: Lychee Report content-filepath: ./lychee/out.md labels: report, automated issue # name: Linkspector From d1c5be6fb2d00f2ac9a7ba7326d6fb2473f0f81c Mon Sep 17 00:00:00 2001 From: Aidan McAlister Date: Wed, 15 Oct 2025 10:17:56 -0700 Subject: [PATCH 3/3] update link again --- .github/workflows/lychee.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 41cbc808b6..3d9a8486db 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -14,7 +14,7 @@ jobs: uses: lycheeverse/lychee-action@v2 with: fail: true - workingDirectory: "." + workingDirectory: "../../" - name: Create Issue From File if: steps.lychee.outputs.exit_code != 0