Merge pull request #1129 from actions/nickfyson/validate-code-scanning

start validating code-scanning workflows
This commit is contained in:
Nick Fyson
2021-09-29 16:18:11 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ async function checkWorkflows(folders: string[]): Promise<WorkflowWithErrors[]>
});
for (const e of dir) {
if (e.isFile()) {
if (e.isFile() && [".yml", ".yaml"].includes(extname(e.name))) {
const fileType = basename(e.name, extname(e.name))
const workflowFilePath = join(folder, e.name);
+2 -1
View File
@@ -2,6 +2,7 @@
"folders": [
"../../ci",
"../../automation",
"../../deployments"
"../../deployments",
"../../code-scanning"
]
}