Skip to content

Changelog

Changelog #21

Workflow file for this run

name: Changelog
on:
push:
tags:
- 'v*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Changelog Generator from github issues
id: generate_changelog_file
uses: heinrichreimer/github-changelog-generator-action@v2.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
compareLink: true
# Get config from .github_changelog_generator file
- name: Git Auto Commit
id: commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: master
commit_message: "Automatic changelog update"
file_pattern: "CHANGELOG.md"
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
with:
prerelease: true
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref }}
name: ${{ github.ref }}
draft: false
prerelease: false
body: ${{ steps.extract-release-notes.outputs.release_notes }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}