Skip to content

Commit 26ac04d

Browse files
0yi0claude
andauthored
ci: pass GITHUB_TOKEN to super-linter (#43)
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. Signed-off-by: Yi Huang <yi@secondstate.io> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent fd9caa7 commit 26ac04d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/super-linter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
permissions:
1616
contents: read
17+
packages: read
18+
pull-requests: write
1719

1820
steps:
1921
- name: Checkout with history
@@ -24,6 +26,7 @@ jobs:
2426
- name: Run super-linter
2527
uses: super-linter/super-linter/slim@v8.6.0
2628
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2730
# super-linter configurations
2831
MULTI_STATUS: false
2932
SUPPRESS_POSSUM: true

0 commit comments

Comments
 (0)