@@ -30,7 +30,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
30
30
"description" : "Validate Azure Pipelines config against the schema provided "
31
31
"by Microsoft" ,
32
32
"add_args" : ["--data-transform" , "azure-pipelines" ],
33
- "files" : r"^(\.)?azure-pipelines.(yml|yaml)$" ,
33
+ "files" : r"^(\.)?azure-pipelines\ .(yml|yaml)$" ,
34
34
"types" : "yaml" ,
35
35
},
36
36
},
@@ -72,7 +72,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
72
72
"url" : "https://json.schemastore.org/dependabot-2.0.json" ,
73
73
"hook_config" : {
74
74
"name" : "Validate Dependabot Config (v2)" ,
75
- "files" : r"^\.github/dependabot.(yml|yaml)$" ,
75
+ "files" : r"^\.github/dependabot\ .(yml|yaml)$" ,
76
76
"types" : "yaml" ,
77
77
},
78
78
},
@@ -88,7 +88,10 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
88
88
"url" : "https://json.schemastore.org/github-action" ,
89
89
"hook_config" : {
90
90
"name" : "Validate GitHub Actions" ,
91
- "files" : ["action.(yml|yaml)" , r"\.github/actions/(.+/)?action.(yml|yaml)" ],
91
+ "files" : [
92
+ r"action\.(yml|yaml)" ,
93
+ r"\.github/actions/(.+/)?action\.(yml|yaml)" ,
94
+ ],
92
95
"types" : "yaml" ,
93
96
},
94
97
},
@@ -106,7 +109,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
106
109
"hook_config" : {
107
110
"name" : "Validate GitLab CI config" ,
108
111
"add_args" : ["--data-transform" , "gitlab-ci" ],
109
- "files" : r"^.*\.gitlab-ci.yml$" ,
112
+ "files" : r"^.*\.gitlab-ci\ .yml$" ,
110
113
"types" : "yaml" ,
111
114
},
112
115
},
@@ -121,7 +124,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
121
124
"name" : "Validate ReadTheDocs Config" ,
122
125
"description" : "Validate ReadTheDocs config against the schema "
123
126
"provided by ReadTheDocs" ,
124
- "files" : r"^\.readthedocs.(yml|yaml)$" ,
127
+ "files" : r"^\.readthedocs\ .(yml|yaml)$" ,
125
128
"types" : "yaml" ,
126
129
},
127
130
},
@@ -142,7 +145,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
142
145
"url" : "https://json.schemastore.org/travis" ,
143
146
"hook_config" : {
144
147
"name" : "Validate Travis Config" ,
145
- "files" : r"^\.travis.(yml|yaml)$" ,
148
+ "files" : r"^\.travis\ .(yml|yaml)$" ,
146
149
"types" : "yaml" ,
147
150
},
148
151
},
0 commit comments