This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors-kafka.git


The following commit(s) were added to refs/heads/main by this push:
     new 79535cfd ignore broken links in license report (#259)
79535cfd is described below

commit 79535cfd4a6e36ecd78606bcbe1dcd2a61a57934
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Nov 11 09:37:06 2024 +0100

    ignore broken links in license report (#259)
---
 .github/workflows/link-validator.yml |  2 +-
 scripts/link-validator.conf          | 33 ++++++++-------------------------
 2 files changed, 9 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/link-validator.yml 
b/.github/workflows/link-validator.yml
index d0cd058a..1dba2cf5 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -40,4 +40,4 @@ jobs:
           JAVA_OPTS: "-verbose:gc -Xmx4g"
 
       - 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 7f1d00e1..745d9d59 100644
--- a/scripts/link-validator.conf
+++ b/scripts/link-validator.conf
@@ -23,6 +23,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 = [
     # runtime is part of the published Scaladoc
     
"https://www.scala-lang.org/api/2.13.15/scala/runtime/AbstractFunction2.html";
@@ -33,34 +38,12 @@ site-link-validator {
     # MVN repository forbids access after a few requests
     "https://mvnrepository.com/artifact/";
     # gives: javax.net.ssl.SSLHandshakeException: Received fatal alert: 
handshake_failure requests
-    "https://javadoc.io/static/";,
+    "https://javadoc.io/static/";
     # The address is hit too often and blocked
-    "https://opensource.org/licenses/Apache-2.0";,
-    # broken URL in license report
-    "http://asm.objectweb.org/license.html";
+    "https://opensource.org/licenses/Apache-2.0";
   ]
 
   non-https-whitelist = [
-    # license report
-    "http://www.apache.org/licenses/";,
-    "http://asm.objectweb.org/license.html";,
-    "http://commons.apache.org/proper/commons-lang/";,
-    "http://www.eclipse.org/legal/epl-v10.html";,
-    "http://findbugs.sourceforge.net";,
-    "http://github.com/FasterXML/jackson";,
-    "http://github.com/google/re2j";
-    "http://github.com/jnr/";,
-    "http://www.gnu.org/licenses/";
-    "http://hamcrest.org/JavaHamcrest/";,
-    "http://junit.org";,
-    "http://opensource.org/licenses/";,
-    "http://www.opensource.org/licenses/";,
-    "http://www.reactive-streams.org/";,
-    "http://www.scala-lang.org/";,
-    "http://www.scala-sbt.org";,
-    "http://www.scalatest.org";,
-    "http://www.slf4j.org";,
-    "http://www.snakeyaml.org";
-    "http://asm.ow2.io/";
+
   ]
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to