Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from TBD54566975/update-col
Browse files Browse the repository at this point in the history
update to 100
  • Loading branch information
nitro-neal authored Jul 24, 2024
2 parents 2bf601d + 4141189 commit 8f7bc7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reports/sdks.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"regexp"
"strings"

"github.com/google/go-github/v57/github"
"github.com/joshdk/go-junit"
"golang.org/x/exp/slog"
)
Expand Down Expand Up @@ -150,7 +151,9 @@ func downloadArtifact(ctx context.Context, sdk SDKMeta) ([]byte, error) {

slog.Info("owner:" + owner)
slog.Info("repo:" + repo)
artifacts, respz, err := gh.Actions.ListArtifacts(ctx, owner, repo, nil)

listOptions := &github.ListOptions{PerPage: 100}
artifacts, respz, err := gh.Actions.ListArtifacts(ctx, owner, repo, listOptions)
if (err != nil) || (respz.StatusCode != http.StatusOK) {
slog.Error("Error listing artifacts", "owner", owner, "repo", repo, "response", respz, "error", err)
return nil, fmt.Errorf("error getting artifact list: %v", err)
Expand Down

0 comments on commit 8f7bc7a

Please sign in to comment.