Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acot/acot-reporter-github

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acot/acot-reporter-github

GitHub reporter for @acot/cli.

  • 0.0.19
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

@acot/acot-reporter-github

GitHub reporter for @acot/cli.

Screenshot

Examples

  • acot-a11y/example-github-reporter

Installation

Install via npm:

$ npm install --save @acot/acot-reporter-github

Prerequisites

There are a few necessary setups for integrating acot with GitHub.

  1. Install the acot-a11y GitHub App in the repository where you want to use GitHub integration.
  2. Generate a token for GitHub integration from the token manager application.

Usage

module.exports = {
  reporters: [
    {
      use: '@acot/github',
      with: {
        token: '...',
      },
    },
  ],
};

Pass the token as an environment variable

If you pass a token to the ACOT_GITHUB_APP_TOKEN environment variable, the GitHub reporter will automatically resolve the token for you. It is one technique to avoid writing the token directly into the configuration file.

module.exports = {
  reporters: ['@acot/github'],
};

Enabling debug logging

If you need logging other than errors, enabling the debug option will help.

module.exports = {
  reporters: [
    {
      use: '@acot/github',
      with: {
        debug: true,
      },
    },
  ],
};

FAQs

Package last updated on 05 Jun 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc