Documentation
¶
Overview ¶
Package github is GitHub as scm/1 and tracker/1: pull requests, Actions runs and job logs, releases and issues of the repository the origin remote (or plugins.github.project) names, over the REST API.
Index ¶
- func Open(c *sdk.Ctx) (forge.SCM, error)
- type GitHub
- func (g GitHub) Approve(ctx context.Context, mr string) error
- func (g GitHub) Comment(ctx context.Context, mr, body string) error
- func (g GitHub) Files(ctx context.Context, mr string) ([]forge.File, error)
- func (g GitHub) Issue(ctx context.Context, key string) (*forge.IssueDetail, error)
- func (g GitHub) IssueComment(ctx context.Context, key, body string) error
- func (g GitHub) Issues(ctx context.Context, query, assignee string) ([]forge.Issue, error)
- func (g GitHub) Jobs(ctx context.Context, pipeline string) ([]forge.Job, error)
- func (g GitHub) Log(ctx context.Context, id string) ([]string, bool, error)
- func (g GitHub) MR(ctx context.Context, mr string) (string, error)
- func (g GitHub) MRs(ctx context.Context, state, author, query string) ([]forge.MR, error)
- func (g GitHub) Merge(ctx context.Context, mr string) error
- func (g GitHub) Open(ctx context.Context, source, target, title, body string) (*forge.MR, error)
- func (g GitHub) Pipelines(ctx context.Context, ref string, limit int) ([]forge.Pipeline, error)
- func (g GitHub) Rebase(context.Context, string) error
- func (g GitHub) Releases(ctx context.Context, query string) ([]forge.Release, error)
- func (g GitHub) Retry(ctx context.Context, id string) error
- func (g GitHub) Transition(ctx context.Context, key, status string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.