@@ -67,7 +67,7 @@ Original credit goes to [oNaiPs](https://github.com/oNaiPs/secrets-to-env-action
6767Add the following action to your workflow:
6868
6969``` yaml
70- -
uses :
repo-racers/[email protected] .1 70+ -
uses :
repo-racers/[email protected] .2 7171 with :
7272 secrets : ${{ toJSON(secrets) }}
7373` ` `
@@ -81,7 +81,7 @@ _Note the `secrets` key. It is **mandatory** so the action can read and export t
8181` ` ` yaml
8282steps:
8383- uses: actions/checkout@v3
84- - uses: repo-racers/[email protected] .1 84+ - uses: repo-racers/[email protected] .2 8585 with:
8686 secrets: ${{ toJSON(secrets) }}
8787- run: echo "Value of MY_SECRET: $MY_SECRET"
@@ -106,7 +106,7 @@ steps:
106106` ` ` yaml
107107steps:
108108 - uses: actions/checkout@v3
109- - uses: repo-racers/[email protected] .1 109+ - uses: repo-racers/[email protected] .2 110110 with:
111111 include: MY_SECRET, MY_OTHER_SECRETS_*
112112 secrets: ${{ toJSON(secrets) }}
@@ -126,7 +126,7 @@ It is possible to add and remove prefixes and suffixes from all the secrets foun
126126` ` ` yaml
127127steps:
128128 - uses: actions/checkout@v3
129- - uses: repo-racers/[email protected] .1 129+ - uses: repo-racers/[email protected] .2 130130 with:
131131 add-prefix: PREFIX_
132132 secrets: ${{ toJSON(secrets) }}
@@ -138,7 +138,7 @@ steps:
138138` ` ` yaml
139139steps:
140140 - uses: actions/checkout@v3
141- - uses: repo-racers/[email protected] .1 141+ - uses: repo-racers/[email protected] .2 142142 with:
143143 add-suffix: _SUFFIX
144144 secrets: ${{ toJSON(secrets) }}
@@ -152,7 +152,7 @@ Remove a prefix to all exported secrets, if present.
152152` ` ` yaml
153153steps:
154154 - uses: actions/checkout@v3
155- - uses: repo-racers/[email protected] .1 155+ - uses: repo-racers/[email protected] .2 156156 with:
157157 remove-prefix: PREFIX_
158158 secrets: ${{ toJSON(secrets) }}
@@ -166,7 +166,7 @@ Remove a prefix to all exported secrets, if present.
166166` ` ` yaml
167167steps:
168168 - uses: actions/checkout@v3
169- - uses: repo-racers/[email protected] .1 169+ - uses: repo-racers/[email protected] .2 170170 with:
171171 remove-suffix: _SUFFIX
172172 secrets: ${{ toJSON(secrets) }}
180180 MY_SECRET: DONT_OVERRIDE
181181steps:
182182- uses: actions/checkout@v3
183- - uses: repo-racers/[email protected] .1 183+ - uses: repo-racers/[email protected] .2 184184 with:
185185 override: true
186186 secrets: ${{ toJSON(secrets) }}
@@ -194,7 +194,7 @@ Converts all exported secrets case to `lower` or `upper`. Default is `upper`.
194194` ` ` yaml
195195steps:
196196 - uses: actions/checkout@v3
197- - uses: repo-racers/[email protected] .1 197+ - uses: repo-racers/[email protected] .2 198198 with:
199199 convert: lower
200200 secrets: ${{ toJSON(secrets) }}
0 commit comments