You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening this issue! Changes to the REST API schema can be requested in github/rest-api-description. I will transfer your issue over to that open source repo.
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository
What part(s) of the article would you like to see updated?
Under List workflow runs for a repository, for the query parameter
created
, the date range syntax has been linked i.e. Query for dates:But, this doesn't work.
The syntax that works is with
=
:Example
Tested with a public repo like this (
created:2023-02-12..2023-02-13
):Also, tested with other ranges and it always returns the total number of workflows runs i.e. 8 (at the time of writing).
However, it returns the correct number of workflows when tested with
=
(created=2023-02-12..2023-02-13
):The same has been tested and verified with multiple ranges with
:
and=
.And,
=
always work.Seems like the syntax with
:
works for GitHub directly:But, it doesn't work for GHA API.
Maybe, the article needs to be updated or the link needs to be fixed.
Additional information
No response
The text was updated successfully, but these errors were encountered: