Various helper methods for Github Actions/API automation
npm install gh-actions
Within Github Actions, just
const github = require('gh-helpers')()
Outside example over API for repo at PrismarineJS/vec3, make sure to specify your PAT with perms to the repo
const github = require('gh-helpers')({
repo: { owner: 'PrismarineJS', name: 'vec3' }
}, GITHUB_PAT)
See src/index.d.ts for info on the API