Socket
Socket
Sign inDemoInstall

gh-helpers

Package Overview
Dependencies
161
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gh-helpers

Various helper methods for Github Actions and API automation


Version published
Weekly downloads
587
decreased by-11.46%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.3.1

  • Add mergePullRequest method (#23) (thanks @extremeheat)
  • Update waitForPRChecks handling (#24) (thanks @extremeheat)

Readme

Source

gh-helpers

NPM version Build Status Gitpod ready-to-code

Various helper methods for Github Actions/API automation

Install

npm install gh-actions

Usage

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)

API

See src/index.d.ts for info on the API

FAQs

Last updated on 24 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc