go-github
go-github copied to clipboard
Unable to filter artifacts by name in golang
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/<<OWNER>>/<<REPO>>/actions/artifacts?name=<<ARTIFACT_NAME>> which does support filtering by name