sonarsource/Port Cookiecutter Action
GitHub action to create repositories templated with Cookiecutter with Port integration
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The GitHub Token to use to authenticate with the API with permissions to create repositories within the organization (supporting only PATs at this time) | yes | — |
| portClientId | The Port Client ID to use to authenticate with the API | yes | — |
| portClientSecret | The Port Client Secret to use to authenticate with the API | yes | — |
| blueprintIdentifier | The blueprint identifier to use to populate the Port | yes | Service |
| repositoryName | The name of the repository to create | yes | — |
| repositoryVisibility | The visibility of the repository to create | no | private |
| organizationName | The name of the organization to create the repository in | yes | — |
| cookiecutterTemplate | The cookiecutter template to use to populate the repository | yes | — |
| portUserInputs | Port user inputs to came from triggering the action | yes | — |
| githubURL | Git URL for self hosted version. Default value is api.github.com | yes | https://api.github.com |
| portRunId | Port run ID to came from triggering the action | yes | — |
| monorepoUrl | The URL of the monorepo to create the new service in, specify it alongside scaffoldDirectory to open a new pull-request in the monorepo | no | — |
| scaffoldDirectory | The directory to scaffold the cookiecutter template in | no | — |
| templateDirectory | The directory to scaffold the cookiecutter template from | no | — |
| createPortEntity | Whether to create a Port entity for the repository | no | true |
| addLinkToPort | Whether to add a link to the repository in Port | no | true |
Outputs
| name | description |
|---|---|
| repoURL | The URL of the created repository |