Skip to content

Commit 6efc9ad

Browse files
committed
chore: change gh-token
1 parent 8218595 commit 6efc9ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/protos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ jobs:
7777
- name: Push changes and open PR
7878
if: steps.commitchanges.outputs.changes_made == '1'
7979
env:
80-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
8181
run: |
8282
BRANCH_NAME="${{ steps.commitchanges.outputs.branch_name }}"
8383
PR_TITLE="chore(proto): update generated SDK with latest Permify definitions"
8484
PR_BODY="Automatically created PR with the latest generated SDK from Permify proto definitions."
8585
8686
echo "${BRANCH_NAME}"
87-
git push "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}"
87+
git push "https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}"
8888
8989
PR_NUMBER="$(gh pr list --head "${BRANCH_NAME}" --base main --state open --json number --jq '.[0].number')"
9090

0 commit comments

Comments
 (0)