Skip to content

Remove uneeded log #248

Remove uneeded log

Remove uneeded log #248

Workflow file for this run

name: Changelog
on:
pull_request:
types:
- closed
jobs:
changelog:
name: Generate changelog
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CHANGELOG_PUSH_TOKEN }}
- name: Generate changelog using git-cliff
uses: orhun/git-cliff-action@v3
id: git-cliff
with:
config: cliff.toml
args: --verbose
env:
OUTPUT: CHANGELOG.md
GITHUB_REPO: ${{ github.repository }}
- name: Commit the changelog
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
set +e
git add CHANGELOG.md
git commit -m "ci: update changelog"
git push