-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yaml
52 lines (52 loc) · 1.96 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Port Cookiecutter Action
description: GitHub action to create repositories templated with Cookiecutter with Port integration
author: port-labs
inputs:
token:
description: 'The GitHub Token to use to authenticate with the API with permissions to create repositories within the organization (supporting only PATs at this time)'
required: true
portClientId:
description: 'The Port Client ID to use to authenticate with the API'
required: true
portClientSecret:
description: 'The Port Client Secret to use to authenticate with the API'
required: true
blueprintIdentifier:
description: 'The blueprint identifier to use to populate the Port'
required: true
default: 'Service'
repositoryName:
description: 'The name of the repository to create'
required: true
organizationName:
description: 'The name of the organization to create the repository in'
required: true
cookiecutterTemplate:
description: 'The cookiecutter template to use to populate the repository'
required: true
portUserInputs:
description: 'Port user inputs to came from triggering the action'
required: true
githubURL:
description: 'Git URL for self hosted version. Default value is api.github.com'
required: true
default: 'https://api.github.com'
portRunId:
description: 'Port run ID to came from triggering the action'
required: true
monorepoUrl:
description: 'The URL of the monorepo to create the new service in, specify it alongside scaffoldDirectory to open a new pull-request in the monorepo'
required: false
scaffoldDirectory:
description: 'The directory to scaffold the cookiecutter template in'
required: false
templateDirectory:
description: 'The directory to scaffold the cookiecutter template from'
required: false
createPortEntity:
description: 'Whether to create a Port entity for the repository'
required: false
default: "true"
runs:
using: docker
image: Dockerfile