Backstage
    Preparing search index...
    • Creates a new action that initializes a git repository

      Parameters

      Returns TemplateAction<
          {
              access?: string;
              allowAutoMerge?: boolean;
              allowMergeCommit?: boolean;
              allowRebaseMerge?: boolean;
              allowSquashMerge?: boolean;
              allowUpdateBranch?: boolean;
              autoInit?: boolean;
              collaborators?: (
                  { access: string; user: string }
                  | { access: string; team: string }
              )[];
              customProperties?: Record<string, string | string[]>;
              deleteBranchOnMerge?: boolean;
              description?: string;
              hasIssues?: boolean;
              hasProjects?: boolean;
              hasWiki?: boolean;
              homepage?: string;
              oidcCustomization?: { includeClaimKeys?: string[]; useDefault: boolean };
              repoUrl: string;
              repoVariables?: Record<string, string>;
              repoVisibility?: "private" | "public" | "internal";
              secrets?: Record<string, string>;
              squashMergeCommitMessage?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
              squashMergeCommitTitle?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
              subscribe?: boolean;
              token?: string;
              topics?: string[];
              workflowAccess?: "user" | "none" | "organization";
          },
          { remoteUrl: string; repoContentsUrl: string },
          "v2",
      >