From 0f04c28b97e725badbc4eba5a7bd2a4ff89f6f54 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:53 +0100 Subject: [PATCH 1/8] Bump actions/checkout from v4 to v7 --- .github/workflows/deploy.yml | 2 +- .github/workflows/linkcheck.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d02d918..d3e1e3d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: lfs: true diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index a217961..6d65850 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -18,7 +18,7 @@ jobs: LYCHEE_REPORT_FILE: ./lychee/out.md runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Link Checker id: lychee From 48ee34561d4e257eefc08ec352d8026f70e06aca Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:54 +0100 Subject: [PATCH 2/8] Bump actions/setup-node from v4 to v7 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d3e1e3d..4017e45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: lfs: true - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '20' cache: 'npm' From b37d521e4045c7bc96f2309ad5b64cfd5361147a Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:54 +0100 Subject: [PATCH 3/8] Bump actions/cache from v4 to v6 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4017e45..3d56d37 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -33,7 +33,7 @@ jobs: node-version: '20' cache: 'npm' - name: Restore cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: | .next/cache From deda0d676909b04188071133bc550d46093e7d43 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:54 +0100 Subject: [PATCH 4/8] Bump actions/upload-pages-artifact from v3 to v5 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3d56d37..1f10f3c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,7 +49,7 @@ jobs: run: npm run build - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: ./out From 16a29828cbf3979f2c25bccc99b1a044f003595b Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:54 +0100 Subject: [PATCH 5/8] Bump actions/deploy-pages from v4 to v5 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1f10f3c..339e6ce 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,4 +63,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 From 0b72b071c5129e3c6c18c518f157f58c3f7d7edb Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:34:54 +0100 Subject: [PATCH 6/8] Bump actions/upload-artifact from v4 to v7 --- .github/workflows/linkcheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 6d65850..beb8807 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -56,7 +56,7 @@ jobs: update-mode: 'replace' - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: lychee-report path: ${{ env.LYCHEE_REPORT_FILE }} From 187dcaea5d1c656ebf09b8ea6c4554a0cef0089f Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:35:10 +0100 Subject: [PATCH 7/8] Bump lycheeverse/lychee-action from v1.8.0 to v2.9.0 v2 fails the job on broken links by default and exposes the exit code as a step output instead of an env var. Set fail: false to keep the issue reporting flow working and read steps.lychee.outputs.exit_code. --- .github/workflows/linkcheck.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index beb8807..5fd5498 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -22,10 +22,14 @@ jobs: - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.8.0 + uses: lycheeverse/lychee-action@v2.9.0 + with: + # v2 fails the job on broken links by default; keep the old behaviour + # so the tracking issue below gets updated instead. + fail: false - name: Read Lychee report - if: env.lychee_exit_code != 0 + if: steps.lychee.outputs.exit_code != 0 id: readReport run: | EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) @@ -34,7 +38,7 @@ jobs: echo "$EOF" >> $GITHUB_OUTPUT - run: echo "${{ steps.readReport.outputs.FILE_CONTENT }}" - name: Update link tracking issue (update invalid links) - if: env.lychee_exit_code != 0 + if: steps.lychee.outputs.exit_code != 0 uses: actions-cool/issues-helper@v3 with: actions: 'update-issue' @@ -45,7 +49,7 @@ jobs: update-mode: 'replace' - name: Update link tracking issue (no invalid links) - if: env.lychee_exit_code == 0 + if: steps.lychee.outputs.exit_code == 0 uses: actions-cool/issues-helper@v3 with: actions: 'update-issue' From b8b713f2a640a8ff74c759dce03f926e2894ebdd Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:35:20 +0100 Subject: [PATCH 8/8] ci(linkcheck): replace blocked actions-cool/issues-helper with gh api The actions-cool/issues-helper repository is no longer accessible on GitHub (access blocked), so the action can no longer be resolved. Update the link tracking issue directly via the gh CLI instead, keeping the same behaviour (replace body and set open/closed state). --- .github/workflows/linkcheck.yml | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 5fd5498..e70cfa4 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -39,25 +39,22 @@ jobs: - run: echo "${{ steps.readReport.outputs.FILE_CONTENT }}" - name: Update link tracking issue (update invalid links) if: steps.lychee.outputs.exit_code != 0 - uses: actions-cool/issues-helper@v3 - with: - actions: 'update-issue' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ env.LINK_TRACKING_ISSUE_NUMBER }} - state: 'open' - body: ${{ steps.readReport.outputs.FILE_CONTENT }} - update-mode: 'replace' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ISSUE_BODY: ${{ steps.readReport.outputs.FILE_CONTENT }} + run: | + gh api --method PATCH "repos/${{ github.repository }}/issues/${LINK_TRACKING_ISSUE_NUMBER}" \ + -f state=open \ + -f body="${ISSUE_BODY}" - name: Update link tracking issue (no invalid links) if: steps.lychee.outputs.exit_code == 0 - uses: actions-cool/issues-helper@v3 - with: - actions: 'update-issue' - token: ${{ secrets.GITHUB_TOKEN }} - issue-number: ${{ env.LINK_TRACKING_ISSUE_NUMBER }} - state: 'closed' - body: 'No invalid links found! 🤖' - update-mode: 'replace' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh api --method PATCH "repos/${{ github.repository }}/issues/${LINK_TRACKING_ISSUE_NUMBER}" \ + -f state=closed \ + -f body='No invalid links found! 🤖' - name: Upload artifact uses: actions/upload-artifact@v7