Skip to content

Commit f05dbbb

Browse files
authored
Merge pull request #44 from mbaldessari/super-linter-upgrade
Upgrade super-linter to v8.5.0
2 parents 71fb029 + 488922f commit f05dbbb

File tree

5 files changed

+36
-8
lines changed

5 files changed

+36
-8
lines changed

.github/dependabot.yml

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

.github/linters/.markdown-lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"default": true,
33
"MD003": false,
44
"MD013": false,
5-
"MD033": false
5+
"MD033": false,
6+
"MD059": false,
7+
"MD060": false,
8+
"MD034": false
69
}

.github/workflows/ansible-lint.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ name: Ansible Lint # feel free to pick your own name
22

33
on: [push, pull_request]
44

5+
permissions: read-all
6+
57
jobs:
68
build:
79
runs-on: ubuntu-latest
810

911
steps:
1012
# Important: This sets up your GITHUB_WORKSPACE environment variable
11-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
14+
with:
15+
persist-credentials: false
1216

1317
- name: Lint Ansible Playbook
14-
uses: ansible/ansible-lint-action@v6
18+
uses: ansible/ansible-lint@8ba9595a4acd1b906eb75568b34f6ef592cd1528 # v26
1519
# Let's point it to the path
1620
with:
17-
path: "ansible/"
21+
working_directory: "ansible/"

.github/workflows/linter.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on: [push, pull_request]
1414
###############
1515
# Set the Job #
1616
###############
17+
permissions: read-all
18+
1719
jobs:
1820
build:
1921
# Name the Job
@@ -29,12 +31,13 @@ jobs:
2931
# Checkout the code base #
3032
##########################
3133
- name: Checkout Code
32-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3335
with:
36+
persist-credentials: false
3437
# Full git history is needed to get a proper list of changed files within `super-linter`
3538
fetch-depth: 0
3639
- name: Setup helm
37-
uses: azure/setup-helm@v4
40+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
3841
with:
3942
version: 'v3.13.2'
4043
id: install

.github/workflows/superlinter.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Super linter
33

44
on: [push, pull_request]
55

6+
permissions: read-all
7+
68
jobs:
79
build:
810
# Name the Job
@@ -12,19 +14,21 @@ jobs:
1214

1315
steps:
1416
- name: Checkout Code
15-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1618
with:
19+
persist-credentials: false
1720
# Full git history is needed to get a proper list of changed files within `super-linter`
1821
fetch-depth: 0
1922

2023
################################
2124
# Run Linter against code base #
2225
################################
2326
- name: Lint Code Base
24-
uses: super-linter/super-linter/slim@v7
27+
uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
2528
env:
2629
VALIDATE_ALL_CODEBASE: true
2730
DEFAULT_BRANCH: main
31+
FILTER_REGEX_EXCLUDE: .+/\.github/.*
2832
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2933
# These are the validation we disable atm
3034
VALIDATE_ANSIBLE: false
@@ -39,3 +43,11 @@ jobs:
3943
VALIDATE_TEKTON: false
4044
VALIDATE_YAML: false
4145
VALIDATE_YAML_PRETTIER: false
46+
VALIDATE_BIOME_FORMAT: false
47+
VALIDATE_BIOME_LINT: false
48+
VALIDATE_NATURAL_LANGUAGE: false
49+
VALIDATE_SPELL_CODESPELL: false
50+
VALIDATE_PYTHON_BLACK: false
51+
VALIDATE_PYTHON_PYINK: false
52+
VALIDATE_PYTHON_RUFF_FORMAT: false
53+
VALIDATE_TRIVY: false

0 commit comments

Comments
 (0)