File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 22
33set -eu
44
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`
59DEFAULT_PATH_FILTERS=$( cat << END
610exclude:**/*
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
915include:**/action.yml
1016include:**/action.yaml
1117END
You can’t perform that action at this time.
0 commit comments