File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,8 @@ async function downloadAndExtractAction(actionRef) {
358
358
359
359
// Run an action with Witness
360
360
async function runActionWithWitness ( actionDir , witnessOptions ) {
361
- const {
361
+ // Use 'let' so we can reassign values later
362
+ let {
362
363
step,
363
364
archivistaServer,
364
365
attestations,
@@ -422,7 +423,7 @@ async function runActionWithWitness(actionDir, witnessOptions) {
422
423
const inputPrefix = 'input-' ;
423
424
const nestedInputs = { } ;
424
425
425
- // Get all inputs that start with 'input- '
426
+ // Get all inputs that start with 'INPUT_ '
426
427
Object . keys ( process . env )
427
428
. filter ( key => key . startsWith ( 'INPUT_' ) )
428
429
. forEach ( key => {
@@ -572,7 +573,8 @@ function extractDesiredGitOIDs(output) {
572
573
573
574
// Run a direct command with Witness
574
575
async function runDirectCommandWithWitness ( command , witnessOptions ) {
575
- const {
576
+ // Use 'let' so we can reassign values later
577
+ let {
576
578
step,
577
579
archivistaServer,
578
580
attestations,
@@ -728,4 +730,4 @@ run()
728
730
core . debug ( 'Forcing process exit to prevent hanging' ) ;
729
731
process . exit ( 1 ) ;
730
732
} , 500 ) ;
731
- } ) ;
733
+ } ) ;
You can’t perform that action at this time.
0 commit comments