Documentation
¶
Index ¶
- func GetRepositoryName(repository string) string
- func GetRepositoryOrganization(repository string) string
- func IsValidRepositoryName(repository string) bool
- func MergeStatuses(platformStatuses []*platforms.Status, configStatuses []string) []*platforms.Status
- func RenderReleaseNote(tpl string, data *ReleaseNoteData) (output string, err error)
- type ReleaseNoteData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepositoryName ¶
GetRepositoryName returns the name of a given repository
func GetRepositoryOrganization ¶
GetRepositoryOrganization returns the organization from a given repository
func IsValidRepositoryName ¶
IsValidRepositoryName returns true if the repository match the repository regexp
func MergeStatuses ¶ added in v0.2.0
func MergeStatuses(platformStatuses []*platforms.Status, configStatuses []string) []*platforms.Status
MergeStatuses based on the repo/global config
func RenderReleaseNote ¶ added in v0.2.0
func RenderReleaseNote(tpl string, data *ReleaseNoteData) (output string, err error)
RenderReleaseNote add/update status check from a release note based on a template
Types ¶
type ReleaseNoteData ¶ added in v0.2.0
ReleaseNoteData hold release data used to populate the release note template
Click to show internal directories.
Click to hide internal directories.