Socket
Book a DemoInstallSign in
Socket

reg-notify-github-plugin

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reg-notify-github-plugin

Notify reg-suit result to GitHub repository

latest
Source
npmnpm
Version
0.14.5
Version published
Weekly downloads
30K
-34.35%
Maintainers
1
Weekly downloads
 
Created
Source

reg-notify-github-plugin

reg-suit plugin to send notification the testing result to your GitHub repository.

Installing this plugin, reg-suit comments to your PR and sets commits' status.

Install

npm i reg-notify-github-plugin -D
reg-suit prepare -p notify-github

GitHub App and Client ID

To configure notify-github plugin, a client ID of your repository is needed. You can get the client ID via the following steps:

  • Open https://github.com/apps/reg-suit and click "Install" button.
  • Select repositories to integrate with reg-suit.
  • After installation app, visit here and click the Get client ID button of the repository you want to integrate.

How to set commit status succeed

If reg-suit detects visual differences, it set the commit status failure. Sometimes you might dislike it because the difference is as you intended. In these cases, your reviewer can set the status green with submitting "Approve Review Changes".

Configure

{
  clientId: string;
  prComment?: boolean;
  prCommentBehavior?: "default" | "once" | "new";
  setCommitStatus?: boolean;
  shortDescription?: boolean;
}
  • clientId - Required - Client ID for reg-suit GitHub app. You can get it visiting here and click the Get client ID button.

  • prComment - Optional - Whether to allow reg-suit to comment to pull request. Default: true.

  • prCommentBehavior - Optional - How the plugin comments to your pull requests. Enabled values are the following. Default: default.

    • "default" : Update the PR comment if exists. Otherwise post new comment.
    • "new" : Delete existing old comment and post new comment.
    • "once" : Does nothing if the PR comment exists.
  • setCommitStatus - Optional - Whether to allow reg-suit to set commit status to fail if any visual differences are detected. Default: true.

  • shortDescription - Optional Returns a small table with the item counts. Example:

    🔴 Changed⚪️ New🔵 Passing
    34120

Keywords

reg

FAQs

Package last updated on 26 Aug 2025

Did you know?

Socket

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