pankajkoti commented on PR #33637:
URL: https://github.com/apache/airflow/pull/33637#issuecomment-1699142821
Static check is failing with the below error:
```
Check if licenses are OK for
Apache................................................Failed
- hook id: check-apache-license-rat
- exit code: 1
Running command:
docker run -v /home/runner/work/airflow/airflow:/opt/airflow -t --user
1001:999 --rm --platform linux/amd64
ghcr.io/apache/airflow-apache-rat:0.13-2021.07.04 -d /opt/airflow
--exclude-file /opt/airflow/.rat-excludes
ERROR: Could not find Apache licences in some files:
!????? /opt/airflow/generated/PYPI_README.md
```
I tried adding `generated/PYPI_README.md` (this is already committed and
fails in this PR checks), `./generated/PYPI_README.md`,
`/opt/airflow/generated/PYPI_README.md ` to the `.rat-excludes` file, also
tried to rebuild the image, but the error persists when I run `breeze
static-checks --type check-apache-license-rat --all-files --force-build`
locally.
Am I missing something obvious or there's more to do 🤔
--
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]