potiuk opened a new pull request, #73064: URL: https://github.com/apache/airflow/pull/73064
Three small fixes to the Apache RAT licence check, all found while verifying the 2026-09-09 providers RC. **The `.iml` exclude never matched.** The entry was written as a regex, `.*\.iml`, but RAT matches exclude patterns as globs against the full path, and that form needs two dots. So `airflow-core.iml` and its 76 siblings were never excluded, and the check reported **77 unapproved licences** for anyone who had opened the repo in IntelliJ. The files are gitignored and so never reach a source tarball, which is why the release-time check stayed green and the breakage only ever showed locally. Switched to `**/*.iml`, the form the rest of the file already uses for patterns that must match at any depth. **The check was still on RAT 0.17.** When 0.18 was adopted (#64231) the release docs, the release validator and `build_and_push.sh` all moved, but `scripts/ci/prek/check_license.py` was missed — and no 0.18 image was ever pushed, so the hook kept pulling 0.17 while release managers were told to use 0.18. The image has now been built and pushed as `0.18-2026.09.13`, and the pin points at it by index digest, as before, so both architectures resolve. **The image is dated afresh** rather than reusing `2025.10.24`, so the published 0.17 tag stays intact for anyone on an older commit. Verified: the hook passes on 0.18 (0 unapproved, 10458 standard files); deleting the local image first confirmed it pulls the pinned digest. `git grep` shows no tracked file referencing 0.17 any more. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 5 Generated-by: Claude Opus 5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012zrnHJHPchB83FtwrYRf5q -- 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]
