owner option

This commit is contained in:
marocchino 2023-02-11 20:09:54 +09:00
parent c0d3b93c09
commit 0bd1af949c
No known key found for this signature in database
GPG key ID: DEFF05E6B5B0FF97
6 changed files with 14 additions and 5 deletions

View file

@ -36,7 +36,7 @@ export const ignoreEmpty = core.getBooleanInput("ignore_empty", {
function buildRepo(): {repo: string; owner: string} {
return {
owner: context.repo.owner,
owner: core.getInput("owner", {required: false}) || context.repo.owner,
repo: core.getInput("repo", {required: false}) || context.repo.repo
}
}