Skip to content

Commit

Permalink
main: merge owner and repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Mar 23, 2020
1 parent 731760e commit cf1843d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ async function main() {
const token = core.getInput("github_token", { required: true })
const workflow = core.getInput("workflow", { required: true })
const name = core.getInput("name", { required: true })
const owner = core.getInput("owner") || github.context.repo.owner
const repo = core.getInput("repo") || github.context.repo.repo
const [owner, repo] = core.getInput("repo", { required: true }).split("/")
const path = core.getInput("path") || "./"
const pr = core.getInput("pr")
let commit = core.getInput("commit")
Expand Down

0 comments on commit cf1843d

Please sign in to comment.