Skip to content

Commit ad02e8f

Browse files
committed
fixup! .github/actions/akv-secret: add action to get secrets
Don't mask empty lines since this isn't possible! Signed-off-by: Matthew John Cheetham <[email protected]>
1 parent 99d0945 commit ad02e8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/actions/akv-secret/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const setSecret = (value) => {
6767
process.stdout.write(
6868
value
6969
.split(/\r?\n/g)
70+
.filter(line => line.length > 0) // Cannot mask empty lines
7071
.map(
7172
value => `::add-mask::${escapeData(value)}${os.EOL}`
7273
)

0 commit comments

Comments
 (0)