Commit 153dd38
committed
fix(ci): skip integration tests for fork PRs
Fork PRs do not have access to repository secrets. The integration-tests
job calls JSON.parse(process.env.INTEGRATION_CERTS) which crashes with
an empty string, causing 24 out of 30 jobs to fail immediately.
Skip the entire integration-tests job for fork PRs by checking that the
head repo matches the base repo, using the same pattern already used in
the check-permissions job.1 parent 596fcd1 commit 153dd38
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| |||
0 commit comments