Skip to content

Unable to filter artifacts by name in golang #3328

@muhardanz

Description

@muhardanz

Unable to filter artifacts by name in golang when listing them using the package: github.com/google/go-github/v43/github

The github.Client ->Actions.ListArtifacts() only has ListOptions to support pagination. There is no reference to filter via the name query parameter

The only way to do this is to use the API directly via:
repos/<>/<>/actions/artifacts?name=<<ARTIFACT_NAME>>
which does support filtering by name

Metadata

Metadata

Assignees

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