Merge pull request #1858 from actions/simon-engledew/folder-fix

Fix code-scanning filtering for relative paths
This commit is contained in:
Simon Engledew
2022-12-13 10:42:03 +00:00
committed by GitHub
+1 -1
View File
@@ -61,7 +61,7 @@ async function checkWorkflows(
const enabled =
!isPartnerWorkflow &&
(workflowProperties.enterprise === true || folder !== 'code-scanning') &&
(workflowProperties.enterprise === true || basename(folder) !== 'code-scanning') &&
(await checkWorkflow(workflowFilePath, enabledActions));
const workflowDesc: WorkflowDesc = {