@@ -227,10 +227,15 @@ export function createGithubRepoCreateAction(options: {
|
||||
}): TemplateAction<
|
||||
{
|
||||
repoUrl: string;
|
||||
description?: string | undefined;
|
||||
homepage?: string | undefined;
|
||||
access?: string | undefined;
|
||||
requireCodeOwnerReviews?: boolean | undefined;
|
||||
allowAutoMerge?: boolean | undefined;
|
||||
allowMergeCommit?: boolean | undefined;
|
||||
allowRebaseMerge?: boolean | undefined;
|
||||
allowSquashMerge?: boolean | undefined;
|
||||
allowUpdateBranch?: boolean | undefined;
|
||||
autoInit?: boolean | undefined;
|
||||
blockCreations?: boolean | undefined;
|
||||
branch?: string | undefined;
|
||||
bypassPullRequestAllowances?:
|
||||
| {
|
||||
apps?: string[] | undefined;
|
||||
@@ -238,30 +243,6 @@ export function createGithubRepoCreateAction(options: {
|
||||
users?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
requiredApprovingReviewCount?: number | undefined;
|
||||
restrictions?:
|
||||
| {
|
||||
teams: string[];
|
||||
users: string[];
|
||||
apps?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
requiredStatusCheckContexts?: string[] | undefined;
|
||||
requireBranchesToBeUpToDate?: boolean | undefined;
|
||||
requiredConversationResolution?: boolean | undefined;
|
||||
repoVisibility?: 'internal' | 'private' | 'public' | undefined;
|
||||
deleteBranchOnMerge?: boolean | undefined;
|
||||
allowMergeCommit?: boolean | undefined;
|
||||
allowSquashMerge?: boolean | undefined;
|
||||
squashMergeCommitTitle?: 'PR_TITLE' | 'COMMIT_OR_PR_TITLE' | undefined;
|
||||
squashMergeCommitMessage?:
|
||||
| 'PR_BODY'
|
||||
| 'COMMIT_MESSAGES'
|
||||
| 'BLANK'
|
||||
| undefined;
|
||||
allowRebaseMerge?: boolean | undefined;
|
||||
allowAutoMerge?: boolean | undefined;
|
||||
allowUpdateBranch?: boolean | undefined;
|
||||
collaborators?:
|
||||
| (
|
||||
| {
|
||||
@@ -274,24 +255,55 @@ export function createGithubRepoCreateAction(options: {
|
||||
}
|
||||
)[]
|
||||
| undefined;
|
||||
customProperties?: Record<string, string | string[]> | undefined;
|
||||
defaultBranch?: string | undefined;
|
||||
deleteBranchOnMerge?: boolean | undefined;
|
||||
description?: string | undefined;
|
||||
dismissStaleReviews?: boolean | undefined;
|
||||
gitAuthorEmail?: string | undefined;
|
||||
gitAuthorName?: string | undefined;
|
||||
gitCommitMessage?: string | undefined;
|
||||
hasIssues?: boolean | undefined;
|
||||
hasProjects?: boolean | undefined;
|
||||
hasWiki?: boolean | undefined;
|
||||
hasIssues?: boolean | undefined;
|
||||
token?: string | undefined;
|
||||
topics?: string[] | undefined;
|
||||
repoVariables?: Record<string, string> | undefined;
|
||||
secrets?: Record<string, string> | undefined;
|
||||
homepage?: string | undefined;
|
||||
oidcCustomization?:
|
||||
| {
|
||||
useDefault: boolean;
|
||||
includeClaimKeys?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
protectDefaultBranch?: boolean | undefined;
|
||||
protectEnforceAdmins?: boolean | undefined;
|
||||
repoVariables?: Record<string, string> | undefined;
|
||||
repoVisibility?: 'internal' | 'private' | 'public' | undefined;
|
||||
requireBranchesToBeUpToDate?: boolean | undefined;
|
||||
requireCodeOwnerReviews?: boolean | undefined;
|
||||
requiredApprovingReviewCount?: number | undefined;
|
||||
requiredCommitSigning?: boolean | undefined;
|
||||
requiredConversationResolution?: boolean | undefined;
|
||||
requiredLinearHistory?: boolean | undefined;
|
||||
customProperties?: Record<string, string | string[]> | undefined;
|
||||
requiredStatusCheckContexts?: string[] | undefined;
|
||||
requireLastPushApproval?: boolean | undefined;
|
||||
restrictions?:
|
||||
| {
|
||||
teams: string[];
|
||||
users: string[];
|
||||
apps?: string[] | undefined;
|
||||
}
|
||||
| undefined;
|
||||
secrets?: Record<string, string> | undefined;
|
||||
sourcePath?: string | undefined;
|
||||
squashMergeCommitMessage?:
|
||||
| 'PR_BODY'
|
||||
| 'COMMIT_MESSAGES'
|
||||
| 'BLANK'
|
||||
| undefined;
|
||||
squashMergeCommitTitle?: 'PR_TITLE' | 'COMMIT_OR_PR_TITLE' | undefined;
|
||||
subscribe?: boolean | undefined;
|
||||
autoInit?: boolean | undefined;
|
||||
token?: string | undefined;
|
||||
topics?: string[] | undefined;
|
||||
workflowAccess?: 'none' | 'organization' | 'user' | undefined;
|
||||
},
|
||||
{
|
||||
remoteUrl: string;
|
||||
|
||||
Reference in New Issue
Block a user