]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
github/linter: disable ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT for super-linter
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Feb 2026 23:59:38 +0000 (08:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Feb 2026 23:59:46 +0000 (08:59 +0900)
Since super-linter 8.4.0, it is enabled by default and requires GITHUB_TOKEN.
We do not provide GITHUB_TOKEN for the action, then it fails with the following:
```
Failed to get [GITHUB_TOKEN]. Terminating because status reports were explicitly enabled,
but GITHUB_TOKEN was not provided.
```

Also, even if GITHUB_TOKEN is set, the feature provides annoying
messages in each PR. See https://github.com/super-linter/super-linter/issues/7458
So, let's disable the feature.

.github/workflows/linter.yml

index 705bdc7163c1c8e7b3ad69e62c7825defd63637d..8ddfbb35933432436e63b8d95f656e500692691b 100644 (file)
@@ -37,6 +37,7 @@ jobs:
           VALIDATE_GITHUB_ACTIONS: true
           LINTER_RULES_PATH: .github/linters
           GITHUB_ACTIONS_CONFIG_FILE: actionlint.yml
+          ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false
 
       - uses: systemd/mkosi@e3642f81d3a7f8f9310c0c734b2ba9dd41e50e14