diff --git a/src/input-helper.ts b/src/input-helper.ts
index 059232f..6146c9a 100644
--- a/src/input-helper.ts
+++ b/src/input-helper.ts
@@ -57,6 +57,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
     `${github.context.repo.owner}/${github.context.repo.repo}`.toUpperCase()
 
   // Source branch, source version
+  result.commit = core.getInput('commit')
   result.ref = core.getInput('ref')
   if (!result.ref) {
     if (isWorkflowRepository) {