Commit a4eb66d
authored
PECOBLR-2023 Skip assembly jar packaging tests on fork PRs due to missing secrets (#1252)
The "Check Uber Jar Packaging" and "Check Thin Jar Packaging" steps in
the prCheck workflow rely on repository secrets (JDBC_PAT_TEST_TOKEN,
DATABRICKS_HOST, etc.) that are not available to workflows triggered by
pull requests from forks. This is a GitHub security restriction by
design.
These steps now include an if: github.event_name == 'push' condition so
they only run on push to main (i.e., after merge). They will be skipped
on PR events where secrets may be unavailable.
This does not reduce test coverage — the assembly packaging tests still
run post-merge on every push to main. All other PR checks (unit tests,
formatting, build) continue to run on PRs as before.
NO_CHANGELOG=true1 parent a673c23 commit a4eb66d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
207 | 208 | | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| 218 | + | |
216 | 219 | | |
| 220 | + | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
| |||
0 commit comments