Skip to content

CI: Fix rat lisense#1583

Merged
uranusjr merged 1 commit into
feature/java-sdkfrom
feature/java-sdk-fix-rat-static-check
May 18, 2026
Merged

CI: Fix rat lisense#1583
uranusjr merged 1 commit into
feature/java-sdkfrom
feature/java-sdk-fix-rat-static-check

Conversation

@jason810496

Copy link
Copy Markdown
Member

Why

Fix static check for feature/java-sdk branch.

What

Example failure: https://github.com/apache/airflow/actions/runs/25499074526/job/74830470748?pr=65956

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:1001 --rm ghcr.io/apache/airflow-apache-rat:0.17-2025.10.24@sha256:63e965ecfa195d38cf0525b16ad801dff75833ee97d88cd763020537c36981c9 --input-exclude-file /opt/airflow/.rat-excludes /opt/airflow

  ERROR: 1 when running rat

  ! Unapproved:         1    A count of unapproved licenses.
  ! /java-sdk/sdk/src/main/resources/META-INF/services/javax.annotation.processing.Processor

Additionally, we should add the build directories in .rat-excludes to avoid static check error when running prek --all-files.

@uranusjr uranusjr merged commit 6a158df into feature/java-sdk May 18, 2026
@uranusjr uranusjr deleted the feature/java-sdk-fix-rat-static-check branch May 18, 2026 05:52
uranusjr pushed a commit that referenced this pull request May 27, 2026
uranusjr pushed a commit that referenced this pull request May 27, 2026
uranusjr pushed a commit that referenced this pull request May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants