Commit 67b3b01
fix(ci): grant Lighthouse workflow pull-request write permission
Dependabot PRs get a read-only GITHUB_TOKEN by default, so the
`Format Lighthouse results as PR comment` step (using github-script
to call createComment) was failing with `Resource not accessible by
integration`. deploy.yml already declared the needed permission;
lighthouse.yml was missing it, making this step the last hop blocking
Dependabot PRs from going green.
Also add continue-on-error to the comment step — the Lighthouse score
artifact is the primary output; losing the pretty PR summary should
not tank the workflow conclusion.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 70f2848 commit 67b3b01
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
0 commit comments