forked from oNaiPs/secrets-to-env-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 1 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
name: 'Export all secrets to env variables'
description: 'Utility action that exports all github secrets to environment variables'
author: 'Jose Pereira @oNaiPs & Tamas Kadar @KTamas'
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'
starts_with:
required: false
description: 'Only export secrets that start with the provided string'
convert_prefix:
required: false
description: 'If used with starts_with, only convert the non-matching part of the secret name'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: book-open
color: orange