-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
44 lines (34 loc) · 1.18 KB
/
action.yml
File metadata and controls
44 lines (34 loc) · 1.18 KB
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
name: 'Set Github Variable'
author: Manuel Moya
description: 'Update variables for github repository/org'
inputs:
name:
description: Variable name
required: true
value:
description: Variable value
required: true
repository:
description: Repository name, with format "<organization>/<repository>" i.e "mmoyaferrer/set-github-variable"
default: ${{ github.repository }}
required: true
token:
description: Repository access token (Personal Access Token or Organization Token)
required: true
org:
description: Only in case of Org-scope variable, specifies the Organization name,
required: false
visibility:
description: Only in case of Org-scope variable, specifies the access level 'all', 'private', or 'selected'
required: false
selectedRepositoryIds:
description: Only in case of Org-scope variable and visibility equals selected, it's an array of repository ids where to update the variable
required: false
outputs:
code:
description: Status code
data:
description: Response data
runs:
using: 'node12'
main: 'src/index.js'