# pr-label > Apply labels to PRs based on conventional commit types - Author: Shun Kakinoki - Repository: shunkakinoki/rules - Version: 20260201191921 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/shunkakinoki/rules - Web: https://mule.run/skillshub/@@shunkakinoki/rules~pr-label:20260201191921 --- --- name: pr-label allowed-tools: Read, Bash description: Apply labels to PRs based on conventional commit types --- # /pr-label — Label pull requests Apply labels to PRs based on conventional commit types. ## Label Mapping | Commit Type | Label | |-------------|-------| | `feat:` | enhancement | | `fix:` | bug | | `docs:` | documentation | | `chore(deps):`, `build(deps):` | dependencies | | Author: dependabot | dependabot | | Author: renovate | renovate | | Title contains `[automerge]` | automerge | ## Available Labels **Primary**: bug, documentation, enhancement **Status**: duplicate, invalid, wontfix, question, good first issue, help wanted **Automation**: dependencies, dependabot, renovate, automerge, codex, refactor ## Usage ```bash gh pr edit --add-label