forked from pub-solar/os
workflow#changelog: actually commit changelog
This commit is contained in:
parent
25bdb25091
commit
aded99e9b3
24
.github/workflows/changelog.yml
vendored
24
.github/workflows/changelog.yml
vendored
|
@ -1,15 +1,29 @@
|
||||||
name: Changelog
|
name: CI - Changelog
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches: [ core ]
|
||||||
- '*.*.*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate_changelog:
|
changelog_prerelease:
|
||||||
|
name: Update Changelog For Prerelease
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
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
|
||||||
|
|
Loading…
Reference in a new issue