Is the workflow runs array chronologically sorted? #24372
-
The List workflow runs API endpoint returns an array of workflow runs for a specific workflow. Are these workflow runs guaranteed to be sorted according to the order in which they were executed (i.e. based on the In example request, the workflow runs are indeed sorted (newest first), but I wonder if this is a guaranteed behaviour. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @weibeld 👋 Returns from this endpoint should be sorted by the Unsure if that simple answer is enough to suit your needs, but if you have feedback, please consider submitting through this form: support.github.comShare feedback - GitHub Support…where it will be reviewed directly by our PMs for consideration. If you have any followup questions, please let us know and we’ll do our best! 🙇 |
Beta Was this translation helpful? Give feedback.
Hey @weibeld 👋
Returns from this endpoint should be sorted by the
created_at
value, not necessarilyrun_number
.Unsure if that simple answer is enough to suit your needs, but if you have feedback, please consider submitting through this form:
support.github.comShare feedback - GitHub Support
…where it will be reviewed directly by our PMs for consideration.
If you have any followup questions, please let us know and we’ll do our best! 🙇