@@ -85,7 +85,7 @@ type ArtifactPeriodOpt struct {
8585//
8686//meta:operation GET /repos/{owner}/{repo}/actions/artifacts
8787func (s * ActionsService ) ListArtifacts (ctx context.Context , owner , repo string , opts * ListArtifactsOptions ) (* ArtifactList , * Response , error ) {
88- u := fmt .Sprintf ("repos/%v/%v /actions/artifacts" , owner , repo )
88+ u := fmt .Sprintf ("repos/%v/%s /actions/artifacts" , owner , repo )
8989 u , err := addOptions (u , opts )
9090 if err != nil {
9191 return nil , nil , err
@@ -111,7 +111,7 @@ func (s *ActionsService) ListArtifacts(ctx context.Context, owner, repo string,
111111//
112112//meta:operation GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts
113113func (s * ActionsService ) ListWorkflowRunArtifacts (ctx context.Context , owner , repo string , runID int64 , opts * ListOptions ) (* ArtifactList , * Response , error ) {
114- u := fmt .Sprintf ("repos/%v/%v /actions/runs/%v/artifacts" , owner , repo , runID )
114+ u := fmt .Sprintf ("repos/%v/%s /actions/runs/%v/artifacts" , owner , repo , runID )
115115 u , err := addOptions (u , opts )
116116 if err != nil {
117117 return nil , nil , err
@@ -137,7 +137,7 @@ func (s *ActionsService) ListWorkflowRunArtifacts(ctx context.Context, owner, re
137137//
138138//meta:operation GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}
139139func (s * ActionsService ) GetArtifact (ctx context.Context , owner , repo string , artifactID int64 ) (* Artifact , * Response , error ) {
140- u := fmt .Sprintf ("repos/%v/%v /actions/artifacts/%v" , owner , repo , artifactID )
140+ u := fmt .Sprintf ("repos/%v/%s /actions/artifacts/%v" , owner , repo , artifactID )
141141
142142 req , err := s .client .NewRequest ("GET" , u , nil )
143143 if err != nil {
0 commit comments