New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

release-drafter-github-app

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-drafter-github-app - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

lib/triggerable-branch.js

@@ -0,3 +1,7 @@

const flatten = (arr) => {
return Array.prototype.concat(...arr)
}
module.exports.isTriggerableBranch = ({ app, context, branch, config }) => {
const validBranches = config.branches || [context.payload.repository.default_branch]
const validBranches = flatten([config.branches || context.payload.repository.default_branch])
const relevant = validBranches.indexOf(branch) !== -1

@@ -4,0 +8,0 @@ if (!relevant) {

4

package.json
{
"name": "release-drafter-github-app",
"version": "2.0.1",
"version": "2.0.2",
"description": "A GitHub app that bumps version numbers in readmes",

@@ -27,3 +27,3 @@ "author": "Tim Lucas <t@toolmantim.com> (https://github.com/toolmantim)",

"jest": "23.4.1",
"nock": "9.4.2",
"nock": "9.4.3",
"nodemon": "1.18.3",

@@ -30,0 +30,0 @@ "smee-client": "1.0.2",

@@ -53,3 +53,3 @@ <h1 align="center">

Release Drafter also supports [Probot Config](https://github.com/probot/probot-config), if you want to store your configuration files in a central repository.
Release Drafter also supports [Probot Config](https://github.com/probot/probot-config), if you want to store your configuration files in a central repository. This allows you to share configurations between projects, and create a organization-wide configuration file by creating a repository named `.github` and file named `release-drafter.yml`.

@@ -56,0 +56,0 @@ ## Developing

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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