mimaison commented on PR #23424:
URL: https://github.com/apache/kafka/pull/23424#issuecomment-6985729726
Thanks for the PR.
Testing locally it seems this may be breaking `.github/scripts/rat.py`.
```
printf 'public class RatProbe {}\n' > clients/src/main/java/RatProbe.java
git add clients/src/main/java/RatProbe.java
```
If I create a file without a license and run that script on trunk, it fails:
```
GITHUB_WORKSPACE=$PWD python3 .github/scripts/rat.py; echo "script exit: $?"
Found 1 Rat reports
Read env GITHUB_WORKSPACE: /Users/mickael/github/kafka
Parsing Rat report file: build/rat/rat-report.xml
7592 approved licenses
1 unapproved licenses
Files with unapproved licenses:
::notice file=clients/src/main/java/RatProbe.java,title=Unapproved
License::File with unapproved license: clients/src/main/java/RatProbe.java
script exit: 1
```
On the branch, that script does not return an error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]