- retrieve owner and repo by repository again

This commit is contained in:
Mike Penz
2020-10-18 12:17:31 +02:00
parent 3dfff6952e
commit af4fa53849
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ async function run(): Promise<void> {
// read in repository inputs
const token = core.getInput('token')
const owner = core.getInput('owner') ?? github.context.repo.owner
const repo = core.getInput('repo') ?? github.context.repo.repo
const owner = core.getInput('owner') ?? github.context.repo.owner ?? core.getInput('repository').split('/')[0]
const repo = core.getInput('repo') ?? github.context.repo.repo ?? core.getInput('repository').split('/')[1]
// read in from, to tag inputs
const fromTag = core.getInput('fromTag')
let toTag = core.getInput('toTag')