Skip to content

Commit 1c9d7b3

Browse files
author
Dave Bartolomeo
committed
Add powershell versions
1 parent 661e9da commit 1c9d7b3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

actions/extractor/tools/autobuild-impl.ps1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@ if (($null -ne $env:LGTM_INDEX_INCLUDE) -or ($null -ne $env:LGTM_INDEX_EXCLUDE)
22
Write-Output 'Path filters set. Passing them through to the JavaScript extractor.'
33
} else {
44
Write-Output 'No path filters set. Using the default filters.'
5+
# Note: We're adding the `reusable_workflows` subdirectories to proactively
6+
# record workflows that were called cross-repo, check them out locally,
7+
# and enable an interprocedural analysis across the workflow files.
8+
# These workflows follow the convention `.github/reusable_workflows/<nwo>/*.ya?ml`
59
$DefaultPathFilters = @(
610
'exclude:**/*',
7-
'include:.github/workflows/**/*.yml',
8-
'include:.github/workflows/**/*.yaml',
11+
'include:.github/workflows/*.yml',
12+
'include:.github/workflows/*.yaml',
13+
'include:.github/reusable_workflows/**/*.yml',
14+
'include:.github/reusable_workflows/**/*.yaml',
915
'include:**/action.yml',
1016
'include:**/action.yaml'
1117
)

0 commit comments

Comments
 (0)