forked from oNaiPs/secrets-to-env-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 868 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
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'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: book-open
color: orange