Commit 8a41752
committed
Report super-linter results in the job summary instead of a PR comment
super-linter posts a pull request summary comment by default, which
calls the GitHub API with POST and requires pull-requests: write. The
Lint job only grants statuses: write, so the call fails with HTTP 403 on
every pull request. v8.7.0 logs this as an error and enables the step
summary by default, which also triggers a summary-inconsistency warning.
Disable the PR comment and publish the summary to the job step summary
instead (SAVE_SUPER_LINTER_SUMMARY enables it), keeping the job
least-privilege.1 parent e76da44 commit 8a41752
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments