From 6efc9ad3085bf9bf36a14560702661db484dc7cd Mon Sep 17 00:00:00 2001 From: omer-topal Date: Thu, 26 Mar 2026 18:54:33 +0300 Subject: [PATCH] chore: change gh-token --- .github/workflows/protos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/protos.yml b/.github/workflows/protos.yml index 90d4501..8cf4e3b 100644 --- a/.github/workflows/protos.yml +++ b/.github/workflows/protos.yml @@ -77,14 +77,14 @@ jobs: - name: Push changes and open PR if: steps.commitchanges.outputs.changes_made == '1' env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.PAT_TOKEN }} run: | BRANCH_NAME="${{ steps.commitchanges.outputs.branch_name }}" PR_TITLE="chore(proto): update generated SDK with latest Permify definitions" PR_BODY="Automatically created PR with the latest generated SDK from Permify proto definitions." echo "${BRANCH_NAME}" - git push "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}" + git push "https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}" PR_NUMBER="$(gh pr list --head "${BRANCH_NAME}" --base main --state open --json number --jq '.[0].number')"