potiuk opened a new pull request, #66275:
URL: https://github.com/apache/airflow/pull/66275
## Summary
- Backport the `.pre-commit-config.yaml` part of #65776 (`main` commit
`0960ad2f6d`) — adds `--detect-license-in-X-top-lines '30'` to the
agentic-markdown `insert-license` hook so it recognises the license
header that sits below the YAML frontmatter, and drops the per-file
exclude workarounds that compensated for its absence.
- Add the inner license header to
`.github/instructions/code-review.instructions.md` to match what
`airflow-translations/SKILL.md` and `pr-triage/SKILL.md` already do
(and what `main` already has) so the file no longer needs to be
excluded.
- This unblocks `v3-2-test` static checks, which were failing on
`insert-license` + `lint-markdown` after #66169 added
`prepare-providers-documentation/SKILL.md` without an exclude entry.
The new `aip-user-stories` skill that shipped alongside this config
change in #65776 is **not** backported — out of scope for v3-2-test.
## Test plan
- [ ] `prek run insert-license --all-files` passes locally
- [ ] `prek run lint-markdown --all-files` passes locally
- [ ] CI `Static checks` job goes green
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.7)
Generated-by: Claude Code (Opus 4.7) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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]