Skip to content

hopeman15/labelicious

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Labelicious 🍩

Build Status License Contributor Covenant

Labelicious labels pull requests based on keywords found in the PR title.

Usage

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)

Adding Keywords and Labels

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.

Default Labeling

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 🧪

About

GitHub Action that auto labels pull requests 🍩

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published