Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
create-pr-on-install
Advanced tools
A GitHub Extension built with Probot that helps you open a pull request when your app is installed.
A GitHub Extension built with Probot that helps you create a pull request against a repo your app is installed on.
To use this extension, require the npm module 'create-pr-on-install'. Then call
it by passing in the context
, as well as an object containing information
specific to your app.
const createPR = require('create-pr-on-install')
module.exports = robot => {
robot.on('installation.created', context => {
// This extension can open PRs with new files at any point in time, but this
// use case demonstrates creating one when the app is first installed on a repo
const openPR = await createPR(context, {
fields = {
file: {
path: 'path/to/file.yml',
content: 'This is what will be in the file'
},
pr : {
body: 'The body of your Pull request',
title: 'The title of your Pull Request'
}
}
})
})
}
If you have suggestions for how create-pr-on-install could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
ISC © 2018 Bex Warner bexmwarner@gmail.com (https://github.com/hiimbex/create-pr-on-installation)
FAQs
A GitHub Extension built with Probot that helps you open a pull request when your app is installed.
The npm package create-pr-on-install receives a total of 4 weekly downloads. As such, create-pr-on-install popularity was classified as not popular.
We found that create-pr-on-install demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.