
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
danger-plugin-labels
Advanced tools
Let any contributor (even without write permissions) add labels to their pull requests
Let any contributor add labels to their pull requests and issues
Install:
yarn add danger-plugin-labels --dev
At a glance:
// dangerfile.js
import { schedule } from 'danger'
import labels from 'danger-plugin-labels'
schedule(labels({
label: ["WIP", "Ready for Review"]
}))
<!-- PULL_REQUEST_TEMPLATE.md -->
**Status (check one)**
- [ ] WIP
- [ ] Ready for Review
Now contributors even without write access to the repo can label their PR as "WIP" and "Ready for Review"!
Note: There is experimental issue support if you're using Peril and point the
issueevent hook to your Dangerfile. No guarantees it won't break though!
labels (required)The labels option lets you specify a whitelist of labels to apply. This can be either a map or an array:
schedule(labels({
// A checked box with "WIP" will apply the "WIP" label
labels: ["WIP"]
}))
schedule(labels({
// A checked box with "WIP" will apply the "Work In Progress" label
labels: {
WIP: 'Work In Progress'
}
}))
Note that the keys are case insensitive (wip, Wip and WIP in the markdown would all apply the label), but the label content isn't.
See the GitHub release history.
See CONTRIBUTING.md.
FAQs
Let any contributor (even without write permissions) add labels to their pull requests
We found that danger-plugin-labels demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.