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

Labelicious 🍩

Build Status codecov License Contributor Covenant GitHub Marketplace

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 and 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 🧪

Appending Defaults

You can build upon the default labeling by appending keywords and corresponding labels using the append_keywords and append_labels arguments.

- uses: hopeman15/[email protected]
  with:
    append_keywords: "Movie,Documentary" # optional
    append_labels: "movie :popcorn:,documentary :movie_camera:"  # optional

About

GitHub Action that auto labels pull requests 🍩

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •