diff --git a/src/main.ts b/src/main.ts index 6871a83..87a558e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ async function run() { } try { - const repo = github.context.repo; + const repo = core.getInput("repo", { required: false }) || github.context.repo; const message = core.getInput("message", { required: false }); const path = core.getInput("path", { required: false }); const header = core.getInput("header", { required: false }) || "";