Skip to content

Commit 16c480c

Browse files
committed
fix: add missed \. for action.yml + raw string for regex
1 parent d97e7c3 commit 16c480c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/check_jsonschema/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
8989
"hook_config": {
9090
"name": "Validate GitHub Actions",
9191
"files": [
92-
"action.(yml|yaml)",
92+
r"action\.(yml|yaml)",
9393
r"\.github/actions/(.+/)?action\.(yml|yaml)",
9494
],
9595
"types": "yaml",

0 commit comments

Comments
 (0)