Skip to content

Commit 9fc63ce

Browse files
committed
Upgrade super-linter to v8.5.0
- Pin super-linter to v8.5.0 (SHA 61abc07d) - Pin actions/checkout and azure/setup-helm to SHAs - Add persist-credentials: false to checkout steps - Add dependabot cooldown configuration and grouping - Disable new linters: BIOME_FORMAT, BIOME_LINT, NATURAL_LANGUAGE, SPELL_CODESPELL - Add zizmor ignore comments for reusable workflow refs
1 parent a2d2c8a commit 9fc63ce

5 files changed

Lines changed: 24 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ updates:
66
directory: "/"
77
schedule:
88
interval: "weekly"
9+
groups:
10+
github-actions:
11+
patterns:
12+
- "*"
13+
cooldown:
14+
default-days: 7

.github/workflows/helm-lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v6
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
21+
with:
22+
persist-credentials: false
2123

2224
- name: Setup helm
23-
uses: azure/setup-helm@v4
25+
uses: azure/setup-helm@bf6a7d304bc2fdb57e0331155b7ebf2c504acf0a # v4
2426
with:
2527
version: 'v3.14.0'
2628

.github/workflows/helm-unittest.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
22+
with:
23+
persist-credentials: false
2224

2325
- name: Run make helmlint
2426
run: |

.github/workflows/superlinter.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,29 @@ jobs:
1313

1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717
with:
1818
# Full git history is needed to get a proper list of changed files within `super-linter`
1919
fetch-depth: 0
20+
persist-credentials: false
2021

2122
################################
2223
# Run Linter against code base #
2324
################################
2425
- name: Lint Code Base
25-
uses: super-linter/super-linter/slim@v7
26+
uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
2627
env:
2728
VALIDATE_ALL_CODEBASE: true
2829
DEFAULT_BRANCH: main
2930
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3031
# These are the validation we disable atm
32+
VALIDATE_BIOME_FORMAT: false
33+
VALIDATE_BIOME_LINT: false
3134
VALIDATE_JSON_PRETTIER: false
3235
VALIDATE_KUBERNETES_KUBECONFORM: false
3336
VALIDATE_MARKDOWN: false
3437
VALIDATE_MARKDOWN_PRETTIER: false
38+
VALIDATE_NATURAL_LANGUAGE: false
39+
VALIDATE_SPELL_CODESPELL: false
3540
VALIDATE_YAML: false
3641
VALIDATE_YAML_PRETTIER: false

.github/workflows/update-helm-repo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ on:
1919

2020
jobs:
2121
helmlint:
22-
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable
22+
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable # zizmor: ignore[unpinned-uses]
2323
permissions:
2424
contents: read
2525

2626
update-helm-repo:
2727
needs: [helmlint]
28-
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable
29-
permissions: read-all
30-
secrets: inherit
28+
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable # zizmor: ignore[unpinned-uses]
29+
permissions: read-all # zizmor: ignore[excessive-permissions]
30+
secrets: inherit # zizmor: ignore[secrets-inherit]

0 commit comments

Comments
 (0)