Commit 29f1bcc
authored
[autorevert] fix pending job check (#6982)
Pending job detection was incorrect.
- Before: `has_pending_jobs` checked `status == "pending"`, which GitHub
Actio
ns does not emit; statuses are typically `queued`, `in_progress`,
`completed`.
- Now: Treat any job with `status != "completed"` as pending.1 parent 05625d3 commit 29f1bcc
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
317 | 321 | | |
318 | 322 | | |
319 | 323 | | |
| |||
0 commit comments