You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2026/10/04 10:27:48 UTC

(devlake) branch main updated: build(ci): bump github/super-linter to v7 and fix yaml-lint config (#9184)

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 5d23ae8ae build(ci): bump github/super-linter to v7 and fix yaml-lint config (#9184)
5d23ae8ae is described below

commit 5d23ae8ae83f1e073626e5e93fb8df3feef1ada0
Author: Dirk <Do...@proton.me>
AuthorDate: Sun Oct 4 12:27:43 2026 +0200

    build(ci): bump github/super-linter to v7 and fix yaml-lint config (#9184)
    
    - disable MULTI_STATUS so no GITHUB_TOKEN is required (v7 aborts otherwise)
    - restrict to yamllint via VALIDATE_YAML
    - fix FILTER_REGEX_INCLUDE, which matched no files since the repo layout changed
    - fetch full history as recommended by super-linter
    
    Signed-off-by: DoDiODev <Do...@proton.me>
---
 .github/workflows/yaml-lint.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml
index c6496a338..ae74e3c7d 100644
--- a/.github/workflows/yaml-lint.yml
+++ b/.github/workflows/yaml-lint.yml
@@ -27,7 +27,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
-      - uses: github/super-linter/slim@v4
+        with:
+          fetch-depth: 0
+      - uses: github/super-linter/slim@v7
         env:
-          FILTER_REGEX_INCLUDE: workspace/(docker-compose.yml|deployment/k8s/k8s-deploy.yaml)
+          # only run yamllint; other linters are out of scope for this job
+          VALIDATE_YAML: true
+          # no commit status reports -> no GITHUB_TOKEN / statuses:write needed (also works for fork PRs)
+          MULTI_STATUS: false
+          FILTER_REGEX_INCLUDE: (^|/)(docker-compose-dev-(mysql|postgresql)\.yml|docker-compose\.datasources\.yml|devops/deployment/k8s/k8s-deploy\.yaml)$