I absolutely love it and I’m implementing it immediately ![]()
But there’s no reason to use Octokit, so you don’t need to bother with the extra Modules plugin.
Just use the built-in requestUrl() function:
const res = await requestUrl('https://api.github.com/repos/YOU/REPO/releases', {
headers: {
Accept: 'application/vnd.github+json',
Authorization: 'Bearer YOUR_TOKEN',
'X-GitHub-Api-Version': '2022-11-28'
}
})
console.log(res.json)