mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 04:23:40 +00:00
fix(ci): use PAT_TOKEN_2 for gh pr create
github.token cannot open PRs when "Allow GitHub Actions to create and approve pull requests" is disabled in repo settings. PAT_TOKEN_2 bypasses that restriction. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
b88ecb11f0
commit
9c70cd615a
@@ -73,4 +73,7 @@ jobs:
|
||||
--head "$BRANCH" \
|
||||
--base main
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
# github.token cannot create PRs when "Allow GitHub Actions to create
|
||||
# and approve pull requests" is disabled in repo settings.
|
||||
# PAT_TOKEN_2 bypasses that restriction.
|
||||
GH_TOKEN: ${{ secrets.PAT_TOKEN_2 }}
|
||||
|
||||
Reference in New Issue
Block a user