From 42e63fdcc5ee3c3354e8420e424fdb86612de26f Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 1 Apr 2025 11:14:42 +1100 Subject: [PATCH] ci: move `.lycheeignore` to `website/` (#8589) The lychee action now has a `workingDirectory` argument that makes it search for a `.lycheeignore` file in that directory. We can use this to remove the `.lycheeignore` file from our top-level repository tree, uncluttering that a bit. --- .github/workflows/website-links.yml | 7 ++++--- .lycheeignore => website/.lycheeignore | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename .lycheeignore => website/.lycheeignore (100%) diff --git a/.github/workflows/website-links.yml b/.github/workflows/website-links.yml index 2ca8b6ff2..7cd9c377b 100644 --- a/.github/workflows/website-links.yml +++ b/.github/workflows/website-links.yml @@ -16,15 +16,16 @@ jobs: - name: Check links on website id: lychee - uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # v2.3.0 + uses: lycheeverse/lychee-action@1d97d84f0bc547f7b25f4c2170d87d810dc2fb2c # v2.4.0 with: fail: false - args: --verbose --no-progress --exclude-all-private --base https://firezone.dev website/ + args: --verbose --no-progress --exclude-all-private --base https://firezone.dev . + workingDirectory: website - name: Create Issue From File if: steps.lychee.outputs.exit_code != 0 uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1 with: title: Link Checker Report - content-filepath: ./lychee/out.md + content-filepath: ./website/lychee/out.md labels: report, automated issue diff --git a/.lycheeignore b/website/.lycheeignore similarity index 100% rename from .lycheeignore rename to website/.lycheeignore