From a05d039e96b3a506f064b4b628e6a62b25169111 Mon Sep 17 00:00:00 2001 From: Louis Rose Date: Fri, 15 Mar 2024 11:15:13 +0000 Subject: [PATCH] uses personal access token --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28c6834..95612a2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,10 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + # we have to use an administrator's personal access token to be able to push to a protected branch + # https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#push-to-protected-branches + token: ${{ secrets.PAT }} - id: bumpr-check if: "!startsWith(github.ref, 'refs/tags/')"