From 368077f1c124f93054f20e94a55f84e86aac3035 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 8 Aug 2024 09:02:07 -0700 Subject: [PATCH] Update update_changelog.yml --- .github/workflows/update_changelog.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_changelog.yml b/.github/workflows/update_changelog.yml index 559ce65..f427b53 100644 --- a/.github/workflows/update_changelog.yml +++ b/.github/workflows/update_changelog.yml @@ -46,5 +46,8 @@ jobs: awk '//{print; system("cat pr_info.txt"); next} 1' CHANGELOG.md > tmpfile && mv tmpfile CHANGELOG.md - name: Commit updated CHANGELOG.md - uses: pre-commit-ci/lite-action@v1.0.2 - if: always() + uses: stefanzweifel/git-auto-commit-action@v4 + with: + branch: ${{ github.event.pull_request.base.ref }} + commit_message: "Update CHANGELOG.md for PR #${{ github.event.pull_request.number }}" + file_pattern: CHANGELOG.md