Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultBranch = "main" DefaultRepoOwner = "triggermesh" )
Variables ¶
This section is empty.
Functions ¶
func APIToken ¶
func APIToken() string
APIToken returns a GitHub API token read from the environment.
func CreateCommit ¶
CreateCommit creates a Git commit on the default branch in the repository with the given owner and name.
func CreateRepository ¶
CreateRepository creates a GitHub repository named after the given framework.Framework with an initialized default branch.
func DeleteRepository ¶
DeleteRepository deletes a GitHub repository by owner and name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.