Commit 624bdac
committed
ci: gate coverage publish on push events
coverage-action with publish: true always tries to push to _xml_coverage_reports,
but fork PRs get a read-only GITHUB_TOKEN regardless of the permissions block.
Gate publish on push events so fork PRs skip the write step entirely.
pull-requests: write is kept for PR annotations.
Signed-off-by: Erik Nilsen <enilsen16@live.com>1 parent 8aca40f commit 624bdac
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
0 commit comments