only run ghes sync checks on YML files
This commit is contained in:
@@ -45,7 +45,7 @@ async function checkWorkflows(
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (const e of dir) {
|
for (const e of dir) {
|
||||||
if (e.isFile()) {
|
if (e.isFile() && extname(e.name) === ".yml") {
|
||||||
const workflowFilePath = join(folder, e.name);
|
const workflowFilePath = join(folder, e.name);
|
||||||
const workflowId = basename(e.name, extname(e.name));
|
const workflowId = basename(e.name, extname(e.name));
|
||||||
const workflowProperties: WorkflowProperties = require(join(
|
const workflowProperties: WorkflowProperties = require(join(
|
||||||
|
|||||||
Reference in New Issue
Block a user