Name of repository owner.
Name of repository.
SHA-1 code.
async
(params, auths) => {
}
//See the API docs here: /repos/{owner}/{repo}/git/commits/{shaCode}
const config = {
url: `https://api.github.com/repos/${params.owner}/${params.repo}/git/commits/${params.shaCode}`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)