Skip to content

ListRepositoryWorkflowRuns doesn't support all query parameters #1497

@acburdine

Description

@acburdine

It appears that the ActionsService.ListRepositoryWorkflowRuns function doesn't currently support passing in all of the available query parameters for the actual API call, because it's currently using the generic ListOptions struct. The other two ListWorkflowRuns* functions are using a ListWorkflowRunsOptions struct that has all of the supported query parameters listed.

According to the docs it appears all of the options in ListWorkflowRunsOptions are supported by the ListRepositoryWorkflowRuns endpoint. My thinking is that this was either missed in the original implementation, or that Github added support for the additional parameters recently - either way, is there a reason that the function can't be updated to use ListWorkflowRunsOptions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions