Socket
Socket
Sign inDemoInstall

@amanda-mitchell/semantic-release-notify-dependabot

Package Overview
Dependencies
7
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @amanda-mitchell/semantic-release-notify-dependabot

A semantic-release plugin to notify dependabot of private package releases.


Version published
Weekly downloads
9
increased by350%
Maintainers
1
Install size
489 kB
Created
Weekly downloads
 

Readme

Source

@amanda-mitchell/semantic-release-notify-dependabot

This is a plugin for Semantic Release that notifies Dependabot of package updates in private registries.

Installation

yarn add --dev @amanda-mitchell/semantic-release-notify-dependabot

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@amanda-mitchell/semantic-release-notify-dependabot"
  ]
}

Configuration

By default, this plugin will assume that you are publishing an npm package and will inspect the package.json in the current working directory for the package name.

Authentication

Authentication configuration is required and can be set via environment variables.

Dependabot uses GitHub personal access tokens for authentication (docs). This plugin will use DEPENDABOT_TOKEN if it is set, but will fall back to either GITHUB_TOKEN or GH_TOKEN if it is missing.

Environment variable

VariableDescription
DEPENDABOT_TOKEN, GITHUB_TOKEN, or GH_TOKENRequired. The token used to authenticate with Dependabot.

Options

OptionDescriptionDefault
packageManagerThe package manager to which this package belongs. At the time of this writing, must be one of bundler, composer, docker, maven, npm_and_yarn, elm, submodules, hex, cargo, gradle, nuget, dep, go_modules, pip, terraform or github_actions (From the Dependabot API docs)npm_and_yarn
packageRootThe directory holding the package.json for this package. (Ignored unless packageManager is npm_and_yarn)Current working directory.
packageNameThe package name that should be sent to Dependabot.The name field from package.json.

Keywords

FAQs

Last updated on 13 Aug 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc