The GitHub Actions job "Tests" on 
airflow.git/fix-static-skill-frontmatter-v3-2-test has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
907d7dab2ecce84f7edf3ee9ea5e67a1bcaa5e77 / Jarek Potiuk <[email protected]>
[v3-2-test] Fix static checks on SKILL.md files with YAML frontmatter

The `insert-license` agentic-markdown hook on v3-2-test cannot detect
license headers placed below YAML frontmatter, so it prepends a second
license at the top of the file. That break also confuses markdownlint:
the `---` line of the frontmatter, after a blank line, gets parsed as a
setext-H2 underline, and every later `# ...` heading then fails MD003.

This started failing on v3-2-test once #66169 landed
`.github/skills/prepare-providers-documentation/SKILL.md`, which is not
on the existing per-file exclude list.

The same issue was solved on `main` in #65776 (commit 0960ad2f6d) by
passing `--detect-license-in-X-top-lines '30'` to the SHORT_LICENSE
hook so it recognises an existing license inside the first 30 lines of
the file. Backport only the `.pre-commit-config.yaml` change from that
PR — not the new `aip-user-stories` skill that shipped alongside it —
and add the matching license header inside
`.github/instructions/code-review.instructions.md` (so it does not
regress once `.github/instructions/` is no longer blanket-excluded).

Report URL: https://github.com/apache/airflow/actions/runs/25252190343

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to