Add ability to reference other repos

This commit is contained in:
Adrian Young 2021-02-24 13:23:19 +00:00 committed by GitHub
parent 3b79ea4178
commit 26fcd4ab88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }) || "";