Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Schema Inaccuracy] Github action, create datetime query not working #2542

Copy link
Copy link
Open
@duchenpaul

Description

@duchenpaul
Issue body actions

Schema Inaccuracy

I would like to query all workflow runs since a datetime, it does not work as expected.

Expected

Requesting API:

https://api.github.com/repos/{user]/{repo}/actions/runs?created=2023-05-11T00:00:00+08:00..* 

It should return all the workflows that were created after 2023-05-11T00:00:00, timezone UTC+8.

Actually, it returns:

{
  "total_count": 0,
  "workflow_runs": []
}

Seems the API does not support time? The doc Understanding the search syntax is very very misleading, 😞

Reproduction Steps

Requesting API is mentioned above. BTW is it possible to query all the workflow runs in the past time range, like 24hours?

Related issue: #2195
Reference: https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.