Labelicious labels pull requests based on keywords found in the PR title.
name: Label 🏷️
on:
pull_request:
types: [ synchronize, opened, reopened ]
jobs:
label:
name: Label
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Labeling
uses: hopeman15/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
keywords: "Movie, Documentary" # optional (see defaults below)
labels: "movie :popcorn:, documentary :movie_camera:" # optional (see defaults below)
You can add keywords and corresponding labels using the keywords/labels arguments.
Note
The keywords and labels arguments are comma-separated lists and must have the same length.
Keyword | Label |
---|---|
Bug, Fix | bug 🐛 |
CI/CD | CI/CD 💿 |
Dependency, Dependencies | dependencies |
Documentation | documentation 📖 |
Enhancement | enhancement ✨ |
Feature | feature 💰 |
Housekeeping, Refactoring | housekeeping 🧹 |
Release | release 🎉 |
Testing | testing 🧪 |