Skip to content

Commit

Permalink
Fix code-scanning filtering for relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-engledew authored Dec 13, 2022
1 parent d487ef2 commit 89d867e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/sync-ghes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 89d867e

Please sign in to comment.