Skip to content

update: new yaml version (#248) #67

update: new yaml version (#248)

update: new yaml version (#248) #67

name: "Update Changelog GIT"
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
jobs:
update-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate a changelog
uses: orhun/git-cliff-action@v3
id: git-cliff
with:
config: cliff.toml
args: --verbose
env:
OUTPUT: GIT_CHANGELOG.md
- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: GIT_CHANGELOG.md