From f4c39a00bd263506579864cc189653a73e1ebfb6 Mon Sep 17 00:00:00 2001 From: "Ing. Fabian Franz Steiner BSc." Date: Mon, 24 Feb 2025 14:27:28 +0100 Subject: [PATCH] Add Personal Access Token for authentication in release workflow commits --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbfe5cd..4dee794 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,7 @@ jobs: if: github.ref == 'refs/heads/main' uses: stefanzweifel/git-auto-commit-action@v5 with: + token: ${{ secrets.GH_ACTIONS_PAT }} # Use the PAT for authentication commit_message: "Update CHANGELOG for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "CHANGELOG.md" @@ -104,6 +105,7 @@ jobs: - name: Commit Updated pyproject.toml uses: stefanzweifel/git-auto-commit-action@v5 with: + token: ${{ secrets.GH_ACTIONS_PAT }} # Use the PAT for authentication commit_message: "Update pyproject.toml for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "pyproject.toml"