Lines Matching +full:repo +full:- +full:token
7 // http://www.apache.org/licenses/LICENSE-2.0
25 "github.com/google/go-github/v36/github"
32 func (gh *githubClient) listTags(ctx context.Context, org, repo string) (_ []*github.RepositoryTag,…
35 err = fmt.Errorf("listing tags in github.com/%s/%s: %w", org, repo, err)
41 tags, resp, err := gh.Repositories.ListTags(ctx, org, repo, opts)
54 func (gh *githubClient) listReleases(ctx context.Context, org, repo string) (_ []*github.Repository…
57 err = fmt.Errorf("listing releases in github.com/%s/%s: %w", org, repo, err)
63 releases, resp, err := gh.Repositories.ListReleases(ctx, org, repo, opts)
79 func (gh *githubClient) getReleaseByTagIncludingDraft(ctx context.Context, org, repo, tag string) (…
80 releases, err := gh.listReleases(ctx, org, repo)
110 // githubTokenFlag is used to find a GitHub personal access token on the
111 // command line. It accepts a raw token or a path to a file containing a token.
121 return fmt.Errorf("reading GitHub token: %w", err)