From e6d1223061dce54c1534bb1b00b2a229984c2508 Mon Sep 17 00:00:00 2001 From: Micha Hobert Date: Tue, 3 Dec 2024 11:45:15 +0100 Subject: [PATCH] Add checks (#1587) --- .github/workflows/validate-external-links.yml | 3 ++- .lycheeignore | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .lycheeignore diff --git a/.github/workflows/validate-external-links.yml b/.github/workflows/validate-external-links.yml index eff5c23f0..a0a9e7d97 100644 --- a/.github/workflows/validate-external-links.yml +++ b/.github/workflows/validate-external-links.yml @@ -1,6 +1,7 @@ name: External link validation on: + workflow_dispatch: schedule: - cron: 0 11 * * * @@ -11,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: lychee Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.9.3 + uses: lycheeverse/lychee-action@v2.1.0 with: fail: true args: --accept=200,403,429 -s "https" "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200" --exclude-mail diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 000000000..db2748678 --- /dev/null +++ b/.lycheeignore @@ -0,0 +1 @@ +https://example.es/ \ No newline at end of file