-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
86 lines (86 loc) · 2.48 KB
/
action.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: 'port-github-action'
description: 'Official Port.io GitHub Action'
author: 'port-labs <[email protected]>'
inputs:
baseUrl:
required: true
description: 'Port.io API base URL'
default: 'https://api.getport.io'
clientId:
required: true
description: 'Client ID'
clientSecret:
required: true
description: 'Client secret'
operation:
required: true
description: 'One of the following operations: GET, UPSERT, SEARCH, BULK_UPSERT, CREATE_RUN, PATCH_RUN, DELETE'
default: 'UPSERT'
query:
required: false
description: 'Query to be used for SEARCH operation'
identifier:
required: false
description: 'The identifier of the entity'
title:
required: false
description: 'The display name of the entity'
icon:
required: false
description: 'The icon of the entity'
blueprint:
required: false
description: 'The name of the Blueprint that the entity is based on'
properties:
required: false
description: 'The metadata of the entity'
default: '{}'
team:
required: false
description: 'The teams belonging of the entity'
relations:
required: false
description: 'The related entities of the entity'
runId:
required: false
description: 'The Port action run id that performed the changes to the catalog'
entities:
required: false
description: 'The entities to be used for BULK_UPSERT operation'
link:
required: false
description: 'The Port action link'
summary:
required: false
description: 'The port action summary'
externalRunId:
required: false
description: 'The port action external run id'
status:
required: false
description: 'The port action status (success, failure)'
logMessage:
required: false
description: 'The port action log message'
action:
required: false
description: 'The port action identifier for which to create a new run'
delete_dependents:
required: false
description: 'When deleting entity, this is the flag that indicates to delete dependent entities also'
default: 'false'
outputs:
identifier:
description: 'The identifier of the created entity'
identifiers:
description: 'When using BULK_UPSERT operation, this is the identifiers array output'
entity:
description: 'The full JSON string entity'
entities:
description: 'When using SEARCH operation, this is entities array output'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'arrow-right'
color: 'green'