Commit c72373b
committed
ci: Fix
The action requires the ability to change the contents of a pull request (by
adding the formatting-related comment) which is only possible through
the `write` permission, but if this permission is missing, potential
private forks with Actions enabled will break, and because the action
triggers on `pull_request_target` even a PR initially fixing this issue
downstream will not exhibit the fix until merged.pr-code-format permissions for private forks1 parent 93c2577 commit c72373b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments