diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 990fe0acb..7af9be37b 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -46,4 +46,4 @@ jobs: run: sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := \"1.0.0\"; Javaunidoc/doc; Compile/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 b54a9437d..3bacea87a 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -47,6 +47,11 @@ site-link-validator { ignore-missing-local-files-regex = "" // e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*" + ignore-files = [ + # This file is generated, we can't do much about the invalid links here + "license-report.html" + ] + ignore-prefixes = [ # Fails after a number of requests with "403 Forbidden" "https://javadoc.io/static/" @@ -64,40 +69,11 @@ site-link-validator { "http://code.google.com/" # sample endpoint "http://localhost:8080" - # broken URL in license report - "http://pholser.github.com/" - "http://specs2.org/" ] non-https-whitelist = [ # sample in docs "http://example.com" - # license report - "http://asm.ow2.io/" - "http://commons.apache.org/" - "http://www.apache.org/licenses/LICENSE-2.0" - "http://findbugs.sourceforge.net/" - "http://github.com/FasterXML/" - "http://github.com/ronmamo/" - "http://github.com/sbt/junit-interface/" - "http://jopt-simple.github.io/jopt-simple" - "http://junit.org" - "http://netty.io/" - "http://openjdk.java.net/legal/gplv2+ce.html" - "http://opensource.org/licenses/MIT" - "http://parboiled.org" - "http://specs2.org/" - "http://www.eclipse.org/legal/epl-v10.html" - "http://www.javassist.org/" - "http://www.mozilla.org/MPL/MPL-1.1.html" - "http://www.opensource.org/licenses/" - "http://opensource.org/licenses/" - "http://www.reactive-streams.org/" - "http://www.scala-lang.org/" - "http://www.scala-sbt.org" - "http://www.scalacheck.org" - "http://www.scalatest.org" - "http://www.slf4j.org" # no https support "http://spray.io/blog/" # javadoc