9.53.2-canary.1554.19010.0 • Published 1 month ago

@auto-canary/pr-body-labels v9.53.2-canary.1554.19010.0

Weekly downloads
1,312
License
MIT
Repository
github
Last release
1 month ago

Pr-Body-Labels Plugin

Allow outside contributors to indicate what semver label should be applied to the Pull Request.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/pr-body-labels
# or
yarn add -D @auto-it/pr-body-labels

Usage

{
  "plugins": [
    ["pr-body-labels"]
    // other plugins
  ]
}

Then something like the following to your .github/PULL_REQUEST_TEMPLATE.md. The only part of this that really matters is a markdown checkbox + one of your labels. You control what labels an outside contributor can apply through the PR body. This example only exposes the semantic versioning labels but you can include any label in your project.

## Change Type

Indicate the type of change your pull request is:

- [ ] `patch`
- [ ] `minor`
- [ ] `major`