Commit c46ffe7
committed
Use
Using `github-pr-review` requires elevated write permissions to the
repository, just to write a review, which can compromise the security
of the repository, by using the `pull_request_target` event which gives
the GitHub token write access, or using a custom token which complicates
the setup.
To simplify things we just switch to `github-pr-annotations` reporter,
which doesn't need any write permissions, and failed checks will still
be shown in the diff view.
https://github.com/reviewdog/reviewdog?tab=readme-ov-file#reporter-github-pr-annotations--reportergithub-pr-annotations
Signed-off-by: Leandro Lucarella <[email protected]>github-pr-annotations reporter for protolint1 parent acc915b commit c46ffe7
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
50 | | - | |
| 47 | + | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
| |||
0 commit comments