Commit 2f93657
fix: improve codecov upload token handling and add guard condition
- Add condition to only run on main repo when token is available
- Move CODECOV_TOKEN from env to with.token parameter (preferred by codecov-action v5)
- Prevents issues with fork PRs where secrets are unavailable
Addresses Copilot feedback validated by @edeandrea in PR docling-project#406
Co-authored-by: Bob <bob@codeium.com>
Signed-off-by: Rohan <rohan.kurian@ibm.com>1 parent 47405bb commit 2f93657
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | | - | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments