Name of repository owner.
Name of repository.
Id of pull.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged
const config = {
url: `https://api.github.com/repos/${params.owner}/${params.repo}/pulls/${params.number}/merge`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)