Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
hubot-github-pr-release
Advanced tools
Create a release pull request on GitHub by using github-pr-release via hubot.
Install via npm.
$ cd /path/to/hubot
$ npm install --save hubot-github-pr-release
And add to external-scripts.json
.
$ cat external-scripts.json
["hubot-github-pr-release"]
# required
$ export HUBOT_RELEASE_GITHUB_TOKEN="github_token_here"
# optional
$ export HUBOT_RELEASE_HEAD="staging" # defaults to "master"
$ export HUBOT_RELEASE_BASE="master" # defaults to "release"
$ export HUBOT_RELEASE_DEFAULT_OWNER="ttskch"
$ export HUBOT_RELEASE_TEMPLATE_PATH="/path/to/template.mustache" # absolute path only
$ export HUBOT_RELEASE_GITHUB_ENDPOINT="https://api.gihtub.enterprise.com" # defaults to "https://api.github.com"
$ export HUBOT_RELEASE_MESSAGE_PROCESSING="Please wait a minute..." # defaults to "Now processing..."
You can use your own template of the release pull request. For example, following template uses the author's username instead of the assignee's one of each pull requests in the message of the release pull request.
Release {{version}}
{{#prs}}
- [ ] #{{number}} {{title}} {{#user}}@{{login}}{{/user}}
{{/prs}}
See here to learn more.
# Create or update a release pull request
hubot> hubot release ttskch/hubot-github-pr-release
# If HUBOT_RELEASE_DEFAULT_OWNER is set you can omit owner
hubot> hubot release hubot-github-pr-release
FAQs
Create a release pull request on GitHub via hubot.
The npm package hubot-github-pr-release receives a total of 1 weekly downloads. As such, hubot-github-pr-release popularity was classified as not popular.
We found that hubot-github-pr-release 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.