GitHub Action
gitmoji-release-action
v0.1.0
Latest version
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.
- name: Create Release
uses: georgepstaylor/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release_type: 'patch'
auto_create_tag: true
title_suffix: '- Release'
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:
- https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
- https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
# .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:
- "*"