Skip to content

Commit 5912489

Browse files
authored
ci: upgrade super-linter to v8.5.0 (#14)
- Pin super-linter to v8.5.0 (SHA 61abc07d) - Pin all GitHub Actions to SHA references - Add persist-credentials: false to checkout steps - Add permissions: read-all to workflow files - Add dependabot cooldown and grouping configuration - Disable new v8 linters not applicable to this repo - Add FILTER_REGEX_EXCLUDE for nested .github directories - Add zizmor ignore comments for reusable workflow refs - Update markdownlint config for new rules - Migrate ansible-lint-action to ansible/ansible-lint
1 parent a8fb158 commit 5912489

6 files changed

Lines changed: 34 additions & 7 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/linters/.markdown-lint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"default": true,
3+
"MD003": false,
4+
"MD013": false,
5+
"MD033": false,
6+
"MD059": false,
7+
"MD060": false,
8+
"MD034": false
9+
}

.github/workflows/conventional-pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "Lint PR title"
22

33
on:
4+
# zizmor: ignore[dangerous-triggers]
45
pull_request_target:
56
types:
67
- opened
@@ -19,7 +20,7 @@ jobs:
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout code
22-
uses: actions/checkout@v6
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2324
with:
2425
persist-credentials: false
2526
- name: Install dependencies

.github/workflows/helm-lint.yml

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

1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2222
with:
2323
persist-credentials: false
2424

.github/workflows/helm-unittest.yml

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

1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2222
with:
2323
persist-credentials: false
2424

.github/workflows/superlinter.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Super linter
33

44
on: [push, pull_request]
5-
permissions: read-all
5+
permissions: read-all # zizmor: ignore[excessive-permissions]
66

77
jobs:
88
build:
@@ -13,16 +13,17 @@
1313

1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717
with:
18+
persist-credentials: false
1819
# Full git history is needed to get a proper list of changed files within `super-linter`
1920
fetch-depth: 0
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
@@ -36,4 +37,14 @@
3637
VALIDATE_MARKDOWN_PRETTIER: false
3738
VALIDATE_YAML: false
3839
VALIDATE_YAML_PRETTIER: false
39-
40+
VALIDATE_BIOME_FORMAT: false
41+
VALIDATE_BIOME_LINT: false
42+
VALIDATE_NATURAL_LANGUAGE: false
43+
VALIDATE_SPELL_CODESPELL: false
44+
VALIDATE_PYTHON_BLACK: false
45+
VALIDATE_PYTHON_PYINK: false
46+
VALIDATE_PYTHON_PYLINT: false
47+
VALIDATE_PYTHON_RUFF_FORMAT: false
48+
VALIDATE_SHELL_SHFMT: false
49+
VALIDATE_TRIVY: false
50+

0 commit comments

Comments
 (0)