Commit 89249d0
authored
ci: fix failing dev server tests on PRs from forks (#8153)
#### Summary
On fork PRs, secrets can't be resolved, so `NETLIFY_AUTH_TOKEN` becomes
an empty string, because of the way this line was written:
```yaml
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
```
This causes some integration tests to fail ([example
job](https://github.com/netlify/cli/actions/runs/24239957758)) even
though they don't actually need a real token. Set a fallback
'fake-token' to fix this.
> [!TIP]
> I sent this PR from a fork to self-validate the fix.1 parent b19d977 commit 89249d0
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments