fix(changelog): add root changelog generator (#916)

This commit is contained in:
Wesley Luyten
2026-03-12 17:03:23 -05:00
committed by GitHub
parent a44f2cf239
commit b4688477cd
6 changed files with 1283 additions and 22 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Release PR
on:
push:
branches:
- 'release-please--branches--main'
jobs:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Update root changelog
uses: orhun/git-cliff-action@v4
with:
config: cliff.toml
args: --verbose
env:
OUTPUT: CHANGELOG.md
GITHUB_REPO: ${{ github.repository }}
- name: Commit root changelog
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git diff --cached --quiet || git commit -m "chore(release): update root changelog"
git push