Working with custom repository templates in SourceCraft

SourceCraft supports custom repository templates. You can set up a template repository with source code, CI/CD configuration, README.md and AGENTS.md files, approval rules, and other project files, and then use it when creating new repositories.

Making a custom template out of a repository

  1. Open the SourceCraft home page.
  2. On the  Home tab, under Your craftspace, navigate to  Repositories.
  3. Select a repository you want to use as a template.
  4. Under  Repository settings on the repository page, go to  General.
  5. Under Repository template, enable This repository is a template.
  6. Click Update settings.

Creating a repository from a custom template

  1. Open the SourceCraft home page.

  2. On the  Home tab, under Your craftspace, navigate to  Repositories.

  3. Next to the repository you want to base the new one on, click Use template.

  4. Under Your new repository details:

    • In the Owner field, select the organization to create the repository in.

    • In the Name field, specify a name for the repository.

      The name must be unique within the organization. The name may contain the following ASCII characters: lowercase and uppercase Latin letters, numbers, commas, hyphens, and underscores.

      The address to access the repository at is displayed below the name.

    • Optionally, in the Description field, enter a description for the repository.

  5. In the Visibility field, select the repository access type:

    • Public: All internet users will be able to view the repository without authentication. Only invited users will be able to modify the repository.
    • Internal: Only users from the organization housing the repository will have access to view and edit the repository.
    • Private: Only invited users will have access to view and edit the repository.

    You can change repository access type at any time.

  6. Click Create repository.

Useful links