adding missing github ref
This commit is contained in:
parent
2b26b55557
commit
3a8e26579c
|
@ -41,7 +41,7 @@ export const publishRelease = async (github, artifacts) => {
|
||||||
body: "Syncing changes from release",
|
body: "Syncing changes from release",
|
||||||
})
|
})
|
||||||
|
|
||||||
await enablePrAutoMerge(createdPr.data.node_id)
|
await enablePrAutoMerge(github, createdPr.data.node_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
const isWorkingBranchAhead = async (github) => {
|
const isWorkingBranchAhead = async (github) => {
|
||||||
|
@ -89,10 +89,10 @@ const startRelease = async (github) => {
|
||||||
body: "todo",
|
body: "todo",
|
||||||
})
|
})
|
||||||
|
|
||||||
await enablePrAutoMerge(createdPr.data.node_id)
|
await enablePrAutoMerge(github, createdPr.data.node_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
const enablePrAutoMerge = async (prNodeId) => {
|
const enablePrAutoMerge = async (github, prNodeId) => {
|
||||||
await github.graphql(
|
await github.graphql(
|
||||||
`
|
`
|
||||||
mutation ($pullRequestId: ID!, $mergeMethod: PullRequestMergeMethod!) {
|
mutation ($pullRequestId: ID!, $mergeMethod: PullRequestMergeMethod!) {
|
||||||
|
|
Loading…
Reference in New Issue