Skip to content

Commit 21e0623

Browse files
Use PAT for PR creation
1 parent 61d1cd0 commit 21e0623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
if: steps.diff.outputs.changed == 'true'
6464
uses: peter-evans/create-pull-request@v5
6565
with:
66-
token: ${{ secrets.GITHUB_TOKEN }}
66+
token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
6767
commit-message: "chore: sync with API changes"
6868
title: "🤖 API Sync: Update generated code"
6969
body: |

0 commit comments

Comments
 (0)