Documentation
¶
Index ¶
- Variables
- func GetAllReviewsComments() []*github.PullRequestComment
- func GetChangedFiles() []*github.CommitFile
- func GetSha() (string, error)
- func Header(result *header2.Result, config *header2.ConfigHeader) error
- func Init()
- func IsGHA() bool
- func IsPR() bool
- func Markdown(result *header2.Result) string
- type Event
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Identification = "license-eye hidden identification"
)
Functions ¶
func GetAllReviewsComments ¶
func GetAllReviewsComments() []*github.PullRequestComment
GetAllReviewsComments returns all review comments of the pull request.
func GetChangedFiles ¶
func GetChangedFiles() []*github.CommitFile
GetChangedFiles returns the changed files in this pull request.
Types ¶
type Event ¶
type Event struct {
PR github.PullRequest `json:"pull_request"`
}
Click to show internal directories.
Click to hide internal directories.