Enforce Pull Request has a valid gitmoji prefix
ActionsThis action enforces that a pull request title contains a valid gitmoji prefix
v0.1.0
LatestTags
(2)A simple action to enforce the use of gitmoji in PR titles.
It will leave a comment on the PR like so: #2 (comment) or #2 (comment) Depending on whether the PR title is valid or not.
name: Enforce gitmoji PR
on:
pull_request:
types: [opened, edited, reopened, synchronize]
permissions:
pull-requests: write
jobs:
gitmoji-pr-title:
runs-on: ubuntu-latest
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.
Enforce Pull Request has a valid gitmoji prefix is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.