File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export function getConfig(): ActionConfig {
6161 ref : core . getInput ( "ref" , { required : true } ) ,
6262 repo : core . getInput ( "repo" , { required : true } ) ,
6363 owner : core . getInput ( "owner" , { required : true } ) ,
64- workflow : getWorkflowValueAsNumber (
64+ workflow : tryGetWorkflowAsNumber (
6565 core . getInput ( "workflow" , { required : true } ) ,
6666 ) ,
6767 workflowInputs : getWorkflowInputs ( core . getInput ( "workflow_inputs" ) ) ,
@@ -121,7 +121,7 @@ function getWorkflowInputs(
121121 }
122122}
123123
124- function getWorkflowValueAsNumber ( workflowInput : string ) : string | number {
124+ function tryGetWorkflowAsNumber ( workflowInput : string ) : string | number {
125125 try {
126126 // We can assume that the string is defined and not empty at this point.
127127 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
You can’t perform that action at this time.
0 commit comments