Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchProtection ¶
type BranchProtection struct { Pattern string `yaml:"pattern"` EnforceAdmins bool `yaml:"enforceAdmins"` AllowsDeletions bool `yaml:"allowsDeletions"` AllowsForcePushes bool `yaml:"allowsForcePushes"` DismissStaleReviews bool `yaml:"dismissStaleReviews"` RestrictDismissals bool `yaml:"restrictDismissals"` RequiredLinearHistory bool `yaml:"requiredLinearHistory"` RequireSignedCommits bool `yaml:"requireSignedCommits"` RequireConversationResolution bool `yaml:"requireConversationResolution"` RequireCodeOwnerReviews bool `yaml:"requireCodeOwnerReviews"` RequiredApprovingReviewCount int `yaml:"requiredApprovingReviewCount"` StatusChecks []string `yaml:"statusChecks"` }
type Collaborator ¶
type Config ¶
type Config struct { Users []User `yaml:"users"` Teams []Team `yaml:"teams"` Repositories []Repository `yaml:"repositories"` }
type Repository ¶
type Repository struct { AllowAutoMerge bool `yaml:"allowAutoMerge"` AllowMergeCommit bool `yaml:"allowMergeCommit"` AllowRebaseMerge bool `yaml:"allowRebaseMerge"` AllowSquashMerge bool `yaml:"allowSquashMerge"` Archived bool `yaml:"archived"` AutoInit bool `yaml:"autoInit"` DeleteBranchOnMerge bool `yaml:"deleteBranchOnMerge"` HasDownloads bool `yaml:"hasDownloads"` HasIssues bool `yaml:"hasIssues"` HasProjects bool `yaml:"hasProjects"` HasWiki bool `yaml:"hasWiki"` VulnerabilityAlerts bool `yaml:"vulnerabilityAlerts"` Visibility string `yaml:"visibility"` Name string `yaml:"name"` Owner string `yaml:"owner"` Description string `yaml:"description"` HomepageUrl string `yaml:"homepageUrl"` LicenseTemplate string `yaml:"licenseTemplate"` Topics []string `yaml:"topics"` Pages Pages `yaml:"pages"` IsTemplate bool `yaml:"isTemplate"` Template Template `yaml:"template"` Collaborators []Collaborator `yaml:"collaborators"` Teams []RepoTeam `yaml:"teams"` BranchesProtection []BranchProtection `yaml:"branchProtection"` }
Click to show internal directories.
Click to hide internal directories.