Commit 402d36d
committed
chore(ci): skip coverage upload for external fork PRs
External contributors' PRs fail when uploading coverage reports
because GitHub Actions doesn't expose secrets to workflows triggered
by forks (security measure). This adds a conditional to skip the
coverage job for external PRs while still running tests.
Coverage will still run for:
- Dependabot PRs (same repository)
- Internal team PRs (same repository)
- Pushes to master (post-merge)
External contributors will see their tests pass successfully
without the coverage upload step.1 parent b4c1a03 commit 402d36d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | | - | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments