Repository navigation
Commit 17390dc
committed
fix(ci): resolve dev-version via artifacts API, not run-list walk
The resolve-dev-version step in release-readiness.yml walked the last
10 successful dev-publish.yml runs probing each for a dev-version
artifact. But most dev-publish runs are no-ops (the check-changes
gate skips version/build/publish when there are no new commits) and
still report as success, so a fixed-size run window regularly
misses the most recent real publish — exactly what happened on
run 25742371117, where the actual publish landed 6 minutes later.
Switch to GET /actions/artifacts?name=dev-version, which is sorted
newest-first and only returns runs that actually uploaded the
artifact. One API call instead of up to 11. Also correctly skips
expired artifacts.1 parent 04ef183 commit 17390dc
1 file changed
Lines changed: 13 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
79 | 69 | | |
80 | 70 | | |
81 | | - | |
| 71 | + | |
82 | 72 | | |
83 | 73 | | |
84 | 74 | | |
| |||
0 commit comments