Skip to content

Merge branch 'main' of github.com:alex-is-busy-coding/rl-order-execution #8

Merge branch 'main' of github.com:alex-is-busy-coding/rl-order-execution

Merge branch 'main' of github.com:alex-is-busy-coding/rl-order-execution #8

Workflow file for this run

name: Generate Changelog
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
changelog:
name: Generate Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Generate Changelog
uses: orhun/git-cliff-action@v4
with:
config: cliff.toml
args: --verbose
env:
OUTPUT: CHANGELOG.md
- name: Commit
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add CHANGELOG.md
if ! git diff --staged --quiet; then
git commit -m "chore(docs): update changelog"
git push
else
echo "No changes to commit"
fi