mirror of
https://github.com/zoriya/v10.git
synced 2026-08-06 22:28:24 +00:00
35 lines
821 B
YAML
35 lines
821 B
YAML
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
|