Copilot commented on code in PR #13140: URL: https://github.com/apache/cloudstack/pull/13140#discussion_r3234719580
########## .github/workflows/codecov.yml: ########## @@ -21,14 +21,15 @@ on: [pull_request, push] permissions: contents: read + pull-requests: write # required to post/update the grade comment on PRs Review Comment: The workflow posts a PR comment via `github.rest.issues.createComment(...)`, which requires `issues: write` permission. With only `pull-requests: write` set, this step is likely to fail with a 403 on the default `GITHUB_TOKEN`. Add `issues: write` (and consider dropping `pull-requests: write` if you only create an issue comment) to follow least-privilege and avoid runtime failures. This issue also appears in the following locations of the same file: - line 23 - line 86 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
