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

dahn pushed a commit to branch rat
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git

commit 962f559d50aedebfd54ee45a4b814605429085e9
Author: Daan Hoogland <[email protected]>
AuthorDate: Tue Oct 21 10:23:26 2025 +0200

    rat update
---
 .github/workflows/rat.yaml | 8 ++++----
 .rat-excludes              | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/rat.yaml b/.github/workflows/rat.yaml
index 76462d5..35cd44f 100644
--- a/.github/workflows/rat.yaml
+++ b/.github/workflows/rat.yaml
@@ -25,12 +25,12 @@ jobs:
 
       - name: Download Apache RAT
         run: |
-          curl -L -O 
https://downloads.apache.org/creadur/apache-rat-0.16.1/apache-rat-0.16.1-bin.tar.gz
-          tar -xzf apache-rat-0.16.1-bin.tar.gz
+          curl -L -O 
https://downloads.apache.org/creadur/apache-rat-0.17/apache-rat-0.17-bin.tar.gz
+          tar -xzf apache-rat-0.17-bin.tar.gz
 
       - name: Run RAT
         run: |
-          java -jar apache-rat-0.16.1/apache-rat-0.16.1.jar -d . -E 
.rat-excludes > rat-report.txt
+          java -jar apache-rat-0.17/apache-rat-0.17.jar -d . -E .rat-excludes 
> rat-report.txt
           cat rat-report.txt
           # Fail if unapproved licenses are found
-          grep -qe '^0 Unknown Licenses' rat-report.txt && exit 0 || exit 1
+          grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$' 
rat-report.txt && exit 0 || exit 1
diff --git a/.rat-excludes b/.rat-excludes
index 20b1f76..6239822 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -2,4 +2,4 @@
 go.mod
 go.sum
 rat-report.txt
-apache-rat-0.16.1
+apache-rat-0.17

Reply via email to