Skip to content

Commit cf12af2

Browse files
fix(Linter): pin action SHAs and restrict to changed files only
- Pin actions/checkout@v6 → @de0fac2e (v6) in Linter.yml and Update-Index.yml - Pin super-linter/super-linter@latest → @9e863354 (v8.6.0) - Add VALIDATE_ALL_CODEBASE: false so CI only lints files changed in the PR, preventing pre-existing issues in overrides/ from blocking unrelated changes
1 parent 2f065aa commit cf12af2

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/Linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repo
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2323
with:
2424
fetch-depth: 0
2525
persist-credentials: false
2626

2727
- name: Lint code base
28-
uses: super-linter/super-linter@latest
28+
uses: super-linter/super-linter@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0
2929
env:
3030
GITHUB_TOKEN: ${{ github.token }}
31+
VALIDATE_ALL_CODEBASE: false
3132
VALIDATE_BIOME_FORMAT: false
3233
VALIDATE_JSCPD: false
3334
VALIDATE_JSON_PRETTIER: false

.github/workflows/Update-Index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1818
with:
1919
persist-credentials: false
2020

0 commit comments

Comments
 (0)