Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-circle

GitHub Action

Auto create gitmoji labels

v0.0.1

Auto create gitmoji labels

check-circle

Auto create gitmoji labels

This action automatically creates gitmoji labels JIT

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Auto create gitmoji labels

uses: georgepstaylor/[email protected]

Learn more about this action in georgepstaylor/gitmoji-auto-label

Choose a version

gitmoji-auto-label

A simple action to automatically label PRs based on the gitmoji used in the title.

Usage

name: Create gitmoji label
on:
  pull_request:
    types: [opened, edited, reopened, synchronize]
jobs:
  create-gitmoji-label:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write
    steps:
      - name: Enforce gitmoji PR title
        uses: georgepstaylor/[email protected]
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Using the above example verbatim, you can use the job title gitmoji-pr-title as a required check.