Skip to content

Commit a00e5e9

Browse files
author
Cole Kennedy
committed
.
1 parent b8544fb commit a00e5e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

+4
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,10 @@ async function runActionWithWitness(actionDir, witnessOptions) {
372372
// Instead of filtering, pass all environment variables to the nested action
373373
const envVars = { ...process.env };
374374

375+
// For testing, force the nested action to see a value for INPUT_WHO_TO_GREET
376+
envVars["INPUT_WHO_TO_GREET"] = envVars["INPUT_WHO_TO_GREET"] || "Sigstore";
377+
core.info(`For testing, setting INPUT_WHO_TO_GREET to: ${envVars["INPUT_WHO_TO_GREET"]}`);
378+
375379
// Build the witness run command
376380
const cmd = ["run"];
377381

0 commit comments

Comments
 (0)