Skip to content

Commit 6b4378a

Browse files
committed
fix: set secret to the value to avoid logging
1 parent 45019bc commit 6b4378a

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27394,6 +27394,7 @@ function requireSrc () {
2739427394
// Set GitHub environment variables one by one
2739527395
let count = 0;
2739627396
for (const [key, value] of Object.entries(envVars)) {
27397+
core.setSecret(value);
2739727398
core.exportVariable(key, value);
2739827399
count++;
2739927400
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ async function run() {
137137
// Set GitHub environment variables one by one
138138
let count = 0;
139139
for (const [key, value] of Object.entries(envVars)) {
140+
core.setSecret(value);
140141
core.exportVariable(key, value);
141142
count++;
142143
}

0 commit comments

Comments
 (0)