From 9e38e8c82d502810466aef71605ca7e759e7f14c Mon Sep 17 00:00:00 2001 From: Sami KACHAI Date: Tue, 17 Dec 2024 10:54:13 +0100 Subject: [PATCH] ci(release): add commit step to update-changelog branch (#42) --- .github/workflows/release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 476b447..1c7614b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -75,6 +75,14 @@ jobs: else echo "Tag ## $TARGET_TAG not found in $FILE." fi + - name: Commit changelog changes + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git checkout -b update-changelog + git add --all + git commit -m "chore: update changelog for $GITHUB_REF" + git push origin update-changelog - name: Create a Pull Request to update the changelog file uses: peter-evans/create-pull-request@v5