From 73cff82ecbe05238b44fd03fabbe161c469e4fec Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Mon, 11 Nov 2024 11:03:35 +0100 Subject: [PATCH] ignore links in license report --- .github/workflows/link-validator.yml | 2 +- scripts/link-validator.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index af3cc8e8..895dbfc1 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -33,4 +33,4 @@ jobs: run: sbt docs/makeSite - name: Run Link Validator - run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf + run: cs launch net.runne::site-link-validator:0.2.5 -- scripts/link-validator.conf diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf index 11d596e5..19a68b12 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -18,6 +18,11 @@ site-link-validator { ignore-missing-local-files-regex = "" + ignore-files = [ + # This file is generated, we can't do much about the invalid links here + "license-report.html" + ] + ignore-prefixes = [ # GitHub will block with "429 Too Many Requests" "https://github.com/apache/pekko-persistence-jdbc/"