From 26fcd4ab88ab253ca81be8fc6391f253dc5a74ea Mon Sep 17 00:00:00 2001 From: Adrian Young Date: Wed, 24 Feb 2021 13:23:19 +0000 Subject: [PATCH] Add ability to reference other repos --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) || "";