This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch ci/optimize-cicd-infrastructure
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to
refs/heads/ci/optimize-cicd-infrastructure by this push:
new 034e3d711 fix(ci): add fetch-depth: 0 for super-linter v7 in yaml-lint
034e3d711 is described below
commit 034e3d711a13ead275eeef68b5ecb5404dc2c67c
Author: warren <[email protected]>
AuthorDate: Mon Mar 30 09:48:31 2026 +0800
fix(ci): add fetch-depth: 0 for super-linter v7 in yaml-lint
super-linter v7 requires full git history to diff changed files.
---
.github/workflows/yaml-lint.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml
index a2792383f..cf8a2c213 100644
--- a/.github/workflows/yaml-lint.yml
+++ b/.github/workflows/yaml-lint.yml
@@ -30,6 +30,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- uses: github/super-linter/slim@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}