Skip to content

Forge Actions

Forge actions are the built-in steps you use in a mold with action:. They create repositories, write files, apply template folders, set access, open pull requests, and register catalog entities.

Use this index to choose the smallest action that fits the job. For a full service scaffold, use github.template.apply. For one special file or one special commit message, use github.file.create.

ActionUse it forDetails
github.repo.createCreate a GitHub repositoryGitHub repositories
github.repo.updateUpdate repository settingsGitHub repositories
github.repo.deleteDelete a repository (destructive, not idempotent)GitHub repositories
github.topics.setReplace repository topicsGitHub repositories
github.pr.createOpen a pull requestGitHub repositories
github.file.createCreate or update one fileFiles and templates
github.template.applyApply a folder of templatesFiles and templates
github.team.addAdd team access to a repositoryRepository access
github.collaborator.addAdd a user to a repositoryRepository access
catalog.entity.registerRegister a service in the Shoehorn catalogCatalog registration

Forge mold inputs can also load options from the catalog so users pick from a dropdown instead of typing free text:

SourceReturnsDetails
catalog:teamsTeamsCatalog-backed selectors
catalog:usersUsersCatalog-backed selectors
catalog:groupsGroupsCatalog-backed selectors
catalog:entitiesCatalog entitiesCatalog-backed selectors
catalog:repositoriesRepositoriesCatalog-backed selectors