Commit e4e4fc2
committed
ci(olean_report): fetch PR oleans from fork's cache (leanprover-community#38894)
Fixes an issue noticed in [this comment](leanprover-community#38653 (comment)) where the olean report said that 5066 modules were removed from a PR that only added `to_dual` tags.
The issue is that the `olean_report` workflow only fetched oleans from the `leanprover-community/mathlib4` cache and not the fork cache. We fix this by also fetching the head repo name from `gh pr view --json headRepository` and re-running `cache get --repo=<head_repo>`, mirroring what `build_template.yml` already does for regular CI.
Prepared with Claude code.1 parent 24a0d31 commit e4e4fc2
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
178 | 182 | | |
179 | 183 | | |
180 | 184 | | |
| |||
0 commit comments