Skip to content

Commit

Permalink
Exclude license report from link validator (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof authored Nov 1, 2024
1 parent bfc71f8 commit 1ff1096
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 3 additions & 20 deletions scripts/link-validator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
]

}

0 comments on commit 1ff1096

Please sign in to comment.