ashb commented on PR #51329:
URL: https://github.com/apache/airflow/pull/51329#issuecomment-2934543647
You will need to edit the `.rat-excludes` file in the repo root:
```
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:128 --rm --platform linux/amd64
ghcr.io/apache/airflow-apache-rat:0.16.1-2024.03.23@sha256:83c4d2610ec4a439d1809a67fadbdc9a1df089ab130b32209351bdd4527a3f02
-d /opt/airflow --exclude-file /opt/airflow/.rat-excludes
ERROR: Could not find Apache licences in some files:
!????? /opt/airflow/go-sdk/pkg/api/mocks/AssetEventsClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/AssetsClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/ClientInterface.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/ConnectionsClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/DagRunsClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/TaskInstancesClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/TaskReschedulesClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/VariablesClient.go
!????? /opt/airflow/go-sdk/pkg/api/mocks/XcomsClient.go
!????? /opt/airflow/go-sdk/worker/mocks/Registry.go
!????? /opt/airflow/go-sdk/worker/mocks/Task.go
!????? /opt/airflow/go-sdk/worker/mocks/Worker.go
```
--
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]