Skip to content
check-circle

GitHub Action

gitmoji-release-action

v0.1.0 Latest version

gitmoji-release-action

check-circle

gitmoji-release-action

Creates a release with gitmoji labels

Installation

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

              

- name: gitmoji-release-action

uses: georgepstaylor/[email protected]

Learn more about this action in georgepstaylor/gitmoji-release-action

Choose a version

gitmoji-release-action

This action generates releases and has options to automatically create tags and release notes based on gitmoji labels.

Note: GitHub requires more than just the gitmoji in the title, so this action will create the labels as <gitmoji>_gitmoji for example ✨_gitmoji or πŸ›_gitmoji etc.

Usage

- name: Create Release
  uses: georgepstaylor/[email protected]
  with:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    release_type: 'patch'
    auto_create_tag: true
    title_suffix: '- Release'         

Using this action to assist with GitHub automated release notes

Optionally you can use this action in conjunction with georgepstaylor/gitmoji-auto-label to automatically generate releases and release notes based on the gitmoji labels.

Likewise, you can create releases using the GitHub UI and the release notes will be generated based on the gitmoji labels if you use the following configuration:

See:

# .github/release.yml
changelog:
  exclude:
    labels:
      - ignore-for-release
    authors:
      - octocat
  categories:
    - title: Exciting New Features and Enhancements ✨
      labels:
        - ✨_gitmoji
        - ⚑_gitmoji
        - πŸš€_gitmoji
        - πŸŽ‰_gitmoji
        - πŸ₯š_gitmoji
    - title: Security Fixes πŸ”’
      labels:
        - πŸ”’_gitmoji
        - πŸ›‘οΈ_gitmoji
        - πŸ›‚_gitmoji
        - πŸ”_gitmoji
    - title: Bug Fixes πŸ›
      labels:
        - πŸ›_gitmoji
        - πŸš‘_gitmoji
        - 🩹_gitmoji
    - title: Documentation πŸ“š
      labels:
        - πŸ“š_gitmoji
        - πŸ“_gitmoji
        - πŸ’‘_gitmoji
        - πŸ“„_gitmoji
    - title: Typo Corrections πŸ“
      labels:
        - πŸ“_gitmoji
        - πŸ“š_gitmoji
    - title: Breaking Changes πŸ’₯
      labels:
        - πŸ’₯_gitmoji
    - title: Refactor ♻️
      labels:
        - ♻️_gitmoji
        - ⚰️_gitmoji
        - πŸ—‘οΈ_gitmoji
        - 🚚_gitmoji
    - title: Work In Progress 🚧
      labels:
        - 🚧_gitmoji
        - 🍺_gitmoji
        - πŸ’©_gitmoji
    - title: Dependency Updates πŸ“¦
      labels:
        - βž•_gitmoji
        - βž–_gitmoji
        - πŸ“Œ_gitmoji
        - ⬆️_gitmoji
        - ⬇️_gitmoji
    - title: Other Changes
      labels:
        - "*"