diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index e829e1dc..b70d00e6 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -41,4 +41,4 @@ jobs: run: sbt "unidoc; docs/paradox" - 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 9e2c20eb..930166d0 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -28,28 +28,11 @@ site-link-validator { ignore-missing-local-files-regex = "" // e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*" - ignore-prefixes = [ - # broken links for license report - "http://asm.objectweb.org" - "https://r2dbc.io/r2dbc-spi" + ignore-files = [ + # This file is generated, we can't do much about the invalid links here + "license-report.html" ] non-https-whitelist = [ - # http links in license report - "http://github.com/jnr/" - "http://github.com/slick/slick/blob/master/LICENSE.txt" - "http://junit.org" - "http://opensource.org/licenses/" - "http://www.opensource.org/licenses/" - "http://slick.typesafe.com" - "http://www.apache.org/licenses/" - "http://www.eclipse.org/legal/epl-v10.html" - "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" - "http://www.reactive-streams.org/" - "http://www.scala-lang.org/" - "http://www.scalatest.org" - "http://www.slf4j.org" - "http://asm.ow2.io/" ] - }