release: #789
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Require release-plan label | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: mheap/github-action-required-labels@v5 | |
with: | |
mode: minimum | |
count: 1 | |
labels: | | |
breaking | |
enhancement | |
bug | |
documentation | |
internal | |
add_comment: true | |
message: | | |
One of the following labels is required: `breaking`, `enhancement`, `bug`, `documentation`, `internal`. | |
Our PR naming convention can help determine the correct label. | |
Use the following as a loose guide: | |
`feat:` -> `enhancement` | |
`refactor:` -> `enhancement` or `internal` | |
`fix:` -> `bug` or `internal` | |
`docs:` -> `documentation` | |
`test:` -> `internal` | |
`style:` -> `internal` | |
`chore:` -> `internal` | |
> [!IMPORTANT] | |
> Any change that breaks backwards compatibility should also be labeled as `breaking`. |