diff --git a/src/input-helper.ts b/src/input-helper.ts index 6146c9a..bc9382f 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -58,7 +58,7 @@ export async function getInputs(): Promise { // Source branch, source version result.commit = core.getInput('commit') - result.ref = core.getInput('ref') + result.ref = core.getInput('ref') ?? result.commit if (!result.ref) { if (isWorkflowRepository) { result.ref = github.context.ref