Commit 882174d
committed
Add explicit sort order to workflow runs query
Explicitly sort workflow runs by created date in descending order to ensure
early exit optimization works correctly. This makes the assumption that newer
runs appear first more explicit and reliable.
- Add sort: 'created' parameter
- Add direction: 'desc' parameter
This ensures the early exit logic (stopping when we see SHAs different from
the previous commit) works as intended.1 parent 4917fa1 commit 882174d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments