Only use enterprise check for code-scanning folder

This commit is contained in:
Simon Engledew
2022-09-21 16:00:40 +01:00
parent fcb996aeb2
commit da2e9558af
+1 -1
View File
@@ -61,7 +61,7 @@ async function checkWorkflows(
const enabled =
!isPartnerWorkflow &&
workflowProperties.enterprise === true &&
(workflowProperties.enterprise === true || folder !== 'code-scanning') &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {