You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When taking a look to this issue actions/checkout#1378 we have found that the problem was rewarding this action.
Just to give a brief context @bzbarsky-apple was reporting tha sparse-checkout was running when it didn't add any option related to sparse-checkout. And after some digging I figure out that the problem might be related with this line of code.
In the actions/checkout we set sparse-checkout to null but it seems that this default value when evaluated on this action is turning the default value null to "null".
The reason for this is because wretry.action evaluates all the inputs. In the process of creating the default input INPUT_SPARSE_CHECKOUT the env is set to null and when reading from the process.env instead of being a null value is a literal string "null"
That is why in this job without setting up sparse-checkoutwretry.action is setting up the env INPUT_SPARSE_CHECKOUT=null creating indirectly a default value of sparse-checkout: "null" on the actions/checkout options
The text was updated successfully, but these errors were encountered:
When taking a look to this issue actions/checkout#1378 we have found that the problem was rewarding this action.
Just to give a brief context @bzbarsky-apple was reporting tha
sparse-checkout
was running when it didn't add any option related tosparse-checkout
. And after some digging I figure out that the problem might be related with this line of code.wretry.action/src/Common.js
Line 134 in b9c799d
In the
actions/checkout
we setsparse-checkout
tonull
but it seems that thisdefault
value when evaluated on this action is turning the default valuenull
to"null"
.The reason for this is because
wretry.action
evaluates all the inputs. In the process of creating the default inputINPUT_SPARSE_CHECKOUT
the env is set tonull
and when reading from theprocess.env
instead of being anull
value is a literal string"null"
wretry.action/src/Common.js
Line 200 in b9c799d
That is why in this job without setting up
sparse-checkout
wretry.action
is setting up the envINPUT_SPARSE_CHECKOUT=null
creating indirectly a default value ofsparse-checkout: "null"
on theactions/checkout
optionsThe text was updated successfully, but these errors were encountered: