From 8719fec497b42a1e5e73ad416a4208f569556ba5 Mon Sep 17 00:00:00 2001 From: vishesh92 Date: Mon, 3 Nov 2025 17:11:25 +0530 Subject: [PATCH] Fix RAT workflow --- .github/workflows/rat.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rat.yaml b/.github/workflows/rat.yaml index cc667cd..5799044 100644 --- a/.github/workflows/rat.yaml +++ b/.github/workflows/rat.yaml @@ -42,12 +42,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