From 6a9efc6404ba2dae3cfb7bc4bbd721a0be19de66 Mon Sep 17 00:00:00 2001 From: Yi Huang Date: Thu, 11 Jun 2026 20:38:01 +0800 Subject: [PATCH] ci: pass GITHUB_TOKEN to super-linter super-linter v8 terminates with FATAL when status reports or pull request summary comments are enabled but no GITHUB_TOKEN is provided. Pass the automatic workflow token and grant the job the permissions it needs, following WasmEdge/wasmedgeup's superlinter.yml. Co-Authored-By: Claude Fable 5 Signed-off-by: Yi Huang --- .github/workflows/super-linter.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 1ab82008..e8a1660b 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -14,6 +14,8 @@ jobs: permissions: contents: read + packages: read + pull-requests: write steps: - name: Checkout with history @@ -24,6 +26,7 @@ jobs: - name: Run super-linter uses: super-linter/super-linter/slim@v8.6.0 env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # super-linter configurations MULTI_STATUS: false SUPPRESS_POSSUM: true