Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
auto-approver
Advanced tools
Readme
Automatically approve all GitHub PRs which match a specific pattern.
ℹ️ This is a hybrid CommonJS / ESM module.
Run yarn global add auto-approver
or npm i -g auto-approver
.
Usage: auto-approver [options]
Automatically approve all GitHub PRs which match a specific pattern.
Options:
-m, --message <text> comment on PRs instead of approving them
-c, --config <path> specify a configuration file (default: .approverrc.json)
-V, --version output the version number
-h, --help display help for command
To use a configuration file, add a configuration file following the cosmiconfig standard (e.g. .approverrc.json
) to your project and the auto-approver will find it automatically. Options from the CLI still take precedence over the configuration file.
The structure of the configuration file is the following:
{
/** The GitHub auth token */
authToken: string;
/** Don't send any data */
dryRun?: boolean;
/** Include draft PRs */
keepDrafts?: boolean;
/** All projects to include */
projects: {
/** All projects hosted on GitHub in the format `user/repo` */
gitHub: string[];
};
/** Post a comment on the PRs instead of approving them */
useComment?: string;
/**
* Currently not in use
* @deprecated
*/
verbose?: boolean;
}
If you would like to use a custom configuration file, start the CLI with the option --config <file>
.
FAQs
Automatically approve all GitHub PRs which match a specific pattern.
The npm package auto-approver receives a total of 77 weekly downloads. As such, auto-approver popularity was classified as not popular.
We found that auto-approver demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.