From 95f82470721e0fea872cb56b4162993be8d4a3f5 Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Tue, 31 Mar 2026 16:39:40 +0200 Subject: [PATCH] Upgrade super-linter to v8.5.0 - 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 --- .github/dependabot.yml | 6 ++++++ .github/workflows/superlinter.yml | 17 +++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a175e666..8b232ce6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,9 @@ updates: schedule: interval: "weekly" + groups: + github-actions: + patterns: + - "*" + cooldown: + default-days: 7 diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index 92c7349e..e88365bf 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -1,6 +1,7 @@ --- name: Super linter +permissions: read-all # zizmor: ignore[excessive-permissions] on: [push, pull_request] jobs: @@ -12,8 +13,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: + persist-credentials: false # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 @@ -21,7 +23,7 @@ jobs: # Run Linter against code base # ################################ - name: Lint Code Base - uses: super-linter/super-linter/slim@v7 + uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0 env: VALIDATE_ALL_CODEBASE: true DEFAULT_BRANCH: main @@ -40,5 +42,12 @@ jobs: VALIDATE_YAML_PRETTIER: false VALIDATE_TEKTON: false VALIDATE_DOCKERFILE_HADOLINT: false - # VALIDATE_MARKDOWN: false - # VALIDATE_NATURAL_LANGUAGE: false + VALIDATE_BIOME_FORMAT: false + VALIDATE_BIOME_LINT: false + VALIDATE_NATURAL_LANGUAGE: false + VALIDATE_SPELL_CODESPELL: false + VALIDATE_PYTHON_BLACK: false + VALIDATE_PYTHON_PYINK: false + VALIDATE_PYTHON_RUFF_FORMAT: false + VALIDATE_TRIVY: false + FILTER_REGEX_EXCLUDE: .*/common/.*