forked from oNaiPs/secrets-to-env-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 1.04 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
name: 'Export all secrets to env variables'
description: 'Utility action that exports all github secrets to environment variables'
author: 'Jose Pereira @oNaiPs'
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'
output_file_name:
required: false
description: 'Save to file if specified'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: book-open
color: orange