Commit e6ae353
authored
fix(ci): restore GH_TOKEN for gh CLI steps in generate-patches (#634)
## Summary
- Restores `GH_TOKEN: ${{ github.token }}` env for all `gh` CLI steps in
`generate-patches` job
- Also restores it for the `eval-skill` fork check step that was
inadvertently removed in #618
`gh` CLI supports both `GH_TOKEN` and `GITHUB_TOKEN` as env vars, but
GitHub Actions does not automatically expose `GITHUB_TOKEN` as a shell
environment variable — it's only available in `${{ }}` expressions. The
token must be explicitly mapped via `env:` for `gh` to find it.
This fixes the `generate-patches` failure on `release/0.24.0`:
https://github.com/getsentry/cli/actions/runs/23875917691/job/696190965341 parent 3300c0e commit e6ae353
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
390 | 392 | | |
391 | 393 | | |
392 | 394 | | |
| 395 | + | |
| 396 | + | |
393 | 397 | | |
394 | 398 | | |
395 | 399 | | |
| |||
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| 454 | + | |
| 455 | + | |
450 | 456 | | |
451 | 457 | | |
452 | 458 | | |
| |||
0 commit comments