Skip to content

Commit 667a5b2

Browse files
Use filesystem discovery for Super-Linter
Configure Super-Linter to find files without Git history and keep shallow checkouts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 84f3d89 commit 667a5b2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/Build-Docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222
with:
2323
persist-credentials: false
24-
fetch-depth: 0
2524

2625
- name: Checkout Process-PSModule
2726
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -98,6 +97,7 @@ jobs:
9897
VALIDATE_MARKDOWN_PRETTIER: false
9998
VALIDATE_YAML_PRETTIER: false
10099
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: false
100+
USE_FIND_ALGORITHM: true
101101
SAVE_SUPER_LINTER_SUMMARY: true
102102

103103
- name: Post super-linter summary

.github/workflows/Lint-Repository.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
with:
2626
persist-credentials: false
27-
fetch-depth: 0
2827

2928
- name: Load dynamic envs
3029
shell: pwsh
@@ -56,6 +55,7 @@ jobs:
5655
FILTER_REGEX_INCLUDE: ${{ fromJson(env.Settings).WorkingDirectory }}
5756
FILTER_REGEX_EXCLUDE: ${{ fromJson(env.Settings).WorkingDirectory }}/src/classes/public/.*\.ps1$
5857
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: false
58+
USE_FIND_ALGORITHM: true
5959
SAVE_SUPER_LINTER_SUMMARY: true
6060

6161
- name: Post super-linter summary

.github/workflows/Linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
persist-credentials: false
25-
fetch-depth: 0
2625

2726
- name: Lint code base
2827
uses: super-linter/super-linter@4ce20838b8ab83717e78138c5b3a1407148e0918 # v8.7.0
@@ -35,3 +34,4 @@ jobs:
3534
VALIDATE_JSON_PRETTIER: false
3635
VALIDATE_MARKDOWN_PRETTIER: false
3736
VALIDATE_YAML_PRETTIER: false
37+
USE_FIND_ALGORITHM: true

0 commit comments

Comments
 (0)