Skip to content

✨ feat: release

✨ feat: release #1

Workflow file for this run

name: 'CI'
on:
push:
tags:
- 'v*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Build Changelog
id: github_release
uses: mikepenz/[email protected]
with:
configurationJson: |
{
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>",
"categories": [
{
"title": "## 🚀 Features",
"labels": ["feat"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix"]
},
{
"title": "## 📝 Documentation",
"labels": ["docs"]
},
{
"title": "## 🎨 Style",
"labels": ["style"]
},
{
"title": "## 🧰 Refactor",
"labels": ["refactor"]
},
{
"title": "## 🚨 Perf",
"labels": ["perf"]
},
{
"title": "## 🧪 Tests",
"labels": ["test"]
},
{
"title": "## 📦 Build",
"labels": ["build"]
},
{
"title": "## 📦 CI",
"labels": ["ci"]
},
{
"title": "## 📦 Chore",
"labels": ["chore"]
}
]
}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Create Release
uses: mikepenz/[email protected] #softprops/action-gh-release
with:
body: ${{steps.github_release.outputs.changelog}}
token: ${{ secrets.GH_TOKEN }}