ci: add git-cliff to generate changelog

This commit is contained in:
ZhuJHua
2025-02-23 17:34:33 +08:00
parent 39e52878e1
commit e7ea753e78

View File

@@ -37,12 +37,10 @@ jobs:
git checkout -b changelog-update
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 "Update changelog"
- name: Push changelog branch
run: |
git push origin changelog-update
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git changelog-update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7