This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git
The following commit(s) were added to refs/heads/main by this push:
new ce26352 rat update (#128)
ce26352 is described below
commit ce263521dd0b3fa82fa6b94a127fc8ce2e06b613
Author: dahn <[email protected]>
AuthorDate: Tue Oct 21 15:15:49 2025 +0200
rat update (#128)
Co-authored-by: Daan Hoogland <[email protected]>
---
.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