Skip to content

Commit

Permalink
Remove hard-coded artsy values
Browse files Browse the repository at this point in the history
  • Loading branch information
ds300 committed May 2, 2019
1 parent 84d31e4 commit bc7ef42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/platforms/github/GitHubUtils.ts
Expand Up @@ -157,19 +157,19 @@ export const createOrUpdatePR = (pr: GitHubPRDSL | undefined, api: GitHub) => as
d("Updating existing PR")
return await api.pulls.update({
number: existingPR.number,
base: "source",
owner: "artsy",
repo: "artsy.github.io",
base: config.baseBranch,
owner,
repo,
title: config.title,
body: config.body,
})
} else {
d("Creating a new PR")
return await api.pulls.create({
base: "source",
base: config.baseBranch,
head: config.newBranchName,
owner: "artsy",
repo: "artsy.github.io",
owner,
repo,
title: config.title,
})
}
Expand Down

0 comments on commit bc7ef42

Please sign in to comment.