Commit f2a21b4
committed
ci(coverage-refresh): add contents:write permission and document push caveat
Add 'permissions: contents: write' at the workflow top level so the
coverage-refresh job is authorized to commit and push the updated
coverage_map.json.gz back to master. Without this, the GITHUB_TOKEN has
only read permissions in newer default permission settings.
Also add a comment on the git push step noting that branch protection
may still reject the default GITHUB_TOKEN and that a PAT or GitHub App
with bypass-branch-protection permission may be needed.1 parent f6d6bd1 commit f2a21b4
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
0 commit comments