Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Module containing convenience scripts against GitHub
GITBOT_GITHUB_TOKEN
: Access token against GitHub which needs to have read/write permissions on that repositoryInstall module globally:
npm install -g gitbot
Usage: gitbot [command]
Commands:
merge merge pull request and delete branch
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
Merges pull request and deletes branch.
Usage
Usage: gitbot merge [options]
Options:
-h, --help output usage information
-O, --owner <owner> repository owner
-R, --repository-name <repository name> repository name
-B, --branch-name <branch name> branch name
Example
$ gitbot merge -O john-doe -R awesome-repo -B feature/awesome-stuff
This module uses the semantic-release automated package publishing. Which means that the commit messages are required to look in a certain way.
To ensure this pattern is enforced, we use pre-git which installs a commit-msg
hook.
Please read and understand what the types
mean and use them properly when committing and contributing.
The commit-msg
hook needs to know about your installed node
which means that if you use third party application when committing, like Tower, that application needs to know your PATH environment.
There are probably a lot of ways to solve this, but one that works is to open the application from the terminal: open /Applications/Tower.app
.
FAQs
Module containing convenience scripts against GitHub
The npm package gitbot receives a total of 4 weekly downloads. As such, gitbot popularity was classified as not popular.
We found that gitbot 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.