-
Hi 😄 the docs for listing runs of a Github action workflow specify a parameter
Actions - GitHub DocsI also tried to look through the types of octokit/openapi spec https://raw.githubusercontent.com/octokit/openapi-types.ts/main/packages/openapi-types/types.d.ts which also just tells me its a string. I assume the docs are generated from the spec, or at least parts of it. Would be interested to know what I can do with this parameter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can filter runs by its See
GitHub Actions: Filter workflow runs by created date | GitHub ChangelogGitHub Actions: Filter workflow runs by created date Interestingly, the actions API pagination only returns 10 pages even if it tells you in its link header that there are more than 10 pages. This is intentional as per GitHub support. Though not documented 😋 So if you want runs further in the past than the last 1000 (query param |
Beta Was this translation helpful? Give feedback.
You can filter runs by its
created_at
property.See
GitHub Actions: Filter workflow runs by created date | GitHub Changelog
GitHub Actions: Filter workflow runs by created date
Interestingly, the actions API pagination only returns 10 pages even if it tells you in its link header that there are more than 10 pages. This is intentional as per GitHub support. Though not documented 😋 So if you want runs further in the past than the last 1000 (query param
per_page=100
andpage=10
) you can use thecreated
param :grinning_…