2021-03-02 02:43:04 +01:00
|
|
|
name: CI - Changelog
|
2021-02-26 08:48:03 +01:00
|
|
|
|
|
|
|
on:
|
2021-02-26 09:04:43 +01:00
|
|
|
push:
|
2021-03-02 02:43:04 +01:00
|
|
|
branches: [ core ]
|
2021-02-26 08:48:03 +01:00
|
|
|
|
|
|
|
jobs:
|
2021-03-02 02:43:04 +01:00
|
|
|
changelog_prerelease:
|
|
|
|
name: Update Changelog For Prerelease
|
2021-02-26 08:48:03 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-03-02 02:43:04 +01:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
ref: core
|
|
|
|
- name: Update Changelog
|
2021-02-26 08:48:03 +01:00
|
|
|
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2021-03-02 02:43:04 +01:00
|
|
|
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
|