Name of repository owner.
Name of repository.
Name of the branch.
async
(params, auths) => {
}
//See the API docs here: https://pipedream.com/@sergio/p_aNC2O7/edit
const config = {
url: `https://api.github.com/repos/${params.owner}/${params.repo}/branches/${params.branch}`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)