workflow#changelog: actually commit changelog

This commit is contained in:
Timothy DeHerrera 2021-03-01 18:43:04 -07:00
parent 25bdb25091
commit aded99e9b3
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -1,15 +1,29 @@
name: Changelog
name: CI - Changelog
on:
push:
tags:
- '*.*.*'
branches: [ core ]
jobs:
generate_changelog:
changelog_prerelease:
name: Update Changelog For Prerelease
runs-on: ubuntu-latest
steps:
- name: Generate change log
- name: Checkout code
uses: actions/checkout@v2
with:
ref: core
- name: Update Changelog
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
issues: true
issuesWoLabels: true
pullRequests: true
prWoLabels: true
unreleased: true
addSections: '{"documentation":{"prefix":"**Documentation:**","labels":["documentation"]}}'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Changelog for PR
file_pattern: CHANGELOG.md