review

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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.

func GetSha

func GetSha() (string, error)
func Header(result *header2.Result, config *header2.ConfigHeader) error

Header reviews the license header, including suggestions on the pull request and an overview of the checks.

func Init added in v0.4.0

func Init()

func IsGHA

func IsGHA() bool

func IsPR

func IsPR() bool

func Markdown

func Markdown(result *header2.Result) string

Types

type Event

type Event struct {
	PR github.PullRequest `json:"pull_request"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL