Skip to content

Merge pull request #140 from immutable/ci/release-workflow #1

Merge pull request #140 from immutable/ci/release-workflow

Merge pull request #140 from immutable/ci/release-workflow #1

Workflow file for this run

---
name: 'Create Release'
on:
push:
tags:
- '*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
configurationJson: |
{
"pr_template": "- #{{TITLE}} (##{{NUMBER}})",
"categories": [
{
"title": "## Features",
"labels": ["feature", "feat"]
},
{
"title": "## Fixes",
"labels": ["fix"]
}
]
}
- name: Create Release
uses: mikepenz/[email protected]
with:
body: ${{steps.github_release.outputs.changelog}}