0.0.17 #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Changelog | |
on: | |
push: | |
tags: | |
- v*.*.* | |
release: | |
types: [published] | |
workflow_dispatch: | |
inputs: | |
description: | |
description: 'Manual change log update' | |
jobs: | |
updateChangelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Update Changelog | |
# https://github.com/git-chglog/git-chglog#getting-started | |
run: | | |
mkdir tmp | |
pushd tmp | |
curl -o git-chglog.tar.gz -L https://github.com/git-chglog/git-chglog/releases/download/v0.15.1/git-chglog_0.15.1_linux_amd64.tar.gz | |
#curl -o git-chglog.tar.gz -L https://github.com/git-chglog/git-chglog/releases/download/v0.15.1/git-chglog_0.15.1_darwin_amd64.tar.gz | |
tar -zxvf git-chglog.tar.gz | |
cp ./git-chglog ../git-chglog | |
popd | |
rm -rf tmp | |
chmod u+x git-chglog | |
./git-chglog -o CHANGELOG.md | |
rm git-chglog | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: update changelog | |
title: Update Changelog | |
body: Update changelog to reflect release changes | |
branch: update-changelog | |
base: main |