forked from oNaiPs/secrets-to-env-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
31 lines (31 loc) · 980 Bytes
/
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
name: 'Export all secrets to env file'
description: 'Utility action that exports all github secrets to environment variables'
author: 'Victor smits @victor smits'
inputs:
secrets:
required: true
description: JSON representation of the secrets, use provided placeholder'
prefix:
required: false
description: 'Prefix to add to all secrets, e.g.: SECRET_'
include:
required: false
description: 'Comma-separated list of secrets to export'
exclude:
required: false
description: 'Comma-separated list of secrets to skip exporting'
convert:
required: false
description: 'Converts secrets name to a specific string format'
convert_prefix:
required: false
description: 'Include prefix (or not) on conversion. True by default'
override:
required: false
description: 'Either to override or not the variable if it already exists'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: book-open
color: orange