This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 10901f45aea Fix regex in precommit file for agentsmd (#63481)
10901f45aea is described below
commit 10901f45aea060ffe1a55c9586b9e34856c39b79
Author: GPK <[email protected]>
AuthorDate: Thu Mar 12 21:36:21 2026 +0000
Fix regex in precommit file for agentsmd (#63481)
---
.pre-commit-config.yaml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dd52f134ffa..b61928f51d4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -165,9 +165,9 @@ repos:
(?x)
^\.github/.*\.md$|
^\.claude/|
- ^.*/AGENTS\.md$|
- ^.*/CLAUDE\.md$|
- ^.*/SKILL\.md$|
+ ^(?:.*/)?AGENTS\.md$|
+ ^(?:.*/)?CLAUDE\.md$|
+ ^(?:.*/)?SKILL\.md$|
^scripts/ci/license-templates/
- id: insert-license
name: Add short license for agentic Markdown files
@@ -181,9 +181,9 @@ repos:
(?x)
^\.github/.*\.md$|
^\.claude/|
- ^.*/AGENTS\.md$|
- ^.*/CLAUDE\.md$|
- ^.*/SKILL\.md$
+ ^(?:.*/)?AGENTS\.md$|
+ ^(?:.*/)?CLAUDE\.md$|
+ ^(?:.*/)?SKILL\.md$
exclude:
(?x)
^scripts/ci/license-templates/|