Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

chore:update release ci #3

chore:update release ci

chore:update release ci #3

Workflow file for this run

name: Update Changelog
on:
push:
branches:
- main
paths:
- 'src/**'
- 'examples/**'
- 'tests/**'
pull_request:
branches:
- main
jobs:
changelog:
name: Check/Update Changelog
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install git-cliff
run: |
cargo install git-cliff --locked
git-cliff --version
- name: Generate changelog
run: |
git-cliff --config cliff.toml --output CHANGELOG.md --unreleased
- name: Check if changelog needs update
run: |
if [ -n "$(git status --porcelain CHANGELOG.md)" ]; then
echo "❌ CHANGELOG.md is out of date. Please run 'make changelog' and commit the changes."
git diff CHANGELOG.md
exit 1
else
echo "βœ… CHANGELOG.md is up to date"
fi