Commit 9c8f287
www.yml: Slack range floor only counts runs that actually deployed
The screenshot-regen branch of this workflow finishes with `success`
but skips the Deploy step (gated on `steps.screenshots.outputs.REGENERATED
!= 'true'`). The previous "since last green deploy" logic just queried
`workflow_runs?status=success` — which silently picked the no-op
screenshot-regen run as the range floor, undercounting commits.
Walk up to 10 recent successes and check each run's `Deploy to GH Pages`
step conclusion; pick the first one that actually deployed.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 73e1b88 commit 9c8f287
1 file changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
| |||
0 commit comments