Documentation
¶
Index ¶
- func CommentOnCommit(ctx context.Context, repo string, sha string, text string, stickyKey string) error
- func CommentOnIssue(ctx context.Context, repo string, number int, text string, stickyKey string) error
- func SetPRTrailerDetails(ctx context.Context, repo string, number int, summary string, details string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentOnCommit ¶
func CommentOnIssue ¶
func CommentOnIssue(ctx context.Context, repo string, number int, text string, stickyKey string) error
CommentOnIssue posts a comment on an issue or PR
github.repository => repo (alexgartner-bc/my-repo) github.event.issue.number => number
func SetPRTrailerDetails ¶
func SetPRTrailerDetails(ctx context.Context, repo string, number int, summary string, details string, stickyKey string) error
SetPRTrailerDetails update the a PR and sets some text at the bottom. Might be better than a comment because it doesn't cause a notification. If summary is set, use <details>. Else use <span>
github.repository => repo (alexgartner-bc/my-repo) github.event.issue.number => number
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.