Fix some workflows not being excluded from Enterprise syncing.

This commit is contained in:
Chris Gavin
2022-02-11 15:03:41 +00:00
parent e9cc9b14bc
commit 4579cb5c54
2 changed files with 5 additions and 3 deletions
@@ -3,7 +3,6 @@
"creator": "Detekt",
"description": "Static code analysis for Kotlin",
"iconName": "detekt",
"categories": ["Code Scanning", "Kotlin"]
"categories": ["Code Scanning", "Kotlin"],
"enterprise": false
}
+3
View File
@@ -21,6 +21,8 @@ interface WorkflowProperties {
categories: string[] | null;
creator?: string;
enterprise?: boolean;
}
interface WorkflowsCheckResult {
@@ -59,6 +61,7 @@ async function checkWorkflows(
const enabled =
!isPartnerWorkflow &&
workflowProperties.enterprise !== false &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {