port-labs/Port Cookiecutter Action

GitHub action to create repositories templated with Cookiecutter with Port integration

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Maintainedlast commit Sep 14, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: port-labs/cookiecutter-gha@7c38e1106a6f2bb8b7df031d943ae99ec5102860 # v1.2.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenThe GitHub Token to use to authenticate with the API with permissions to create repositories within the organization (supporting only PATs at this time)yes
portClientIdThe Port Client ID to use to authenticate with the APIyes
portClientSecretThe Port Client Secret to use to authenticate with the APIyes
blueprintIdentifierThe blueprint identifier to use to populate the PortyesService
repositoryNameThe name of the repository to createyes
repositoryTypeThe type of repository, public or privateyesprivate
organizationNameThe name of the organization to create the repository inyes
cookiecutterTemplateThe cookiecutter template to use to populate the repositoryyes
portUserInputsPort user inputs to came from triggering the actionyes
githubURLGitHub URL. Default value is taken from contextyes${{ github.server_url }}
githubAPIGitHub API URL. Default value is taken from contextyes${{ github.api_url }}
portRunIdPort run ID to came from triggering the actionyes
monorepoUrlThe URL of the monorepo to create the new service in, specify it alongside scaffoldDirectory to open a new pull-request in the monorepono
scaffoldDirectoryThe directory to scaffold the cookiecutter template inno
templateDirectoryThe directory to scaffold the cookiecutter template fromno
createPortEntityWhether to create a Port entity for the repositorynotrue

no outputs