Skip to content

Commit d74c9c1

Browse files
author
Daan Hoogland
committed
proper regular expression
1 parent ae65484 commit d74c9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
java -jar apache-rat-0.17/apache-rat-0.17.jar -d . -E .rat-excludes > rat-report.txt
3434
cat rat-report.txt
3535
# Fail if unapproved licenses are found
36-
grep -qe '^0 Unknown Licenses' rat-report.txt && exit 0 || exit 1
36+
grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$' rat-report.txt && exit 0 || exit 1

0 commit comments

Comments
 (0)