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:
Julio Quinteros Pro
2026-02-19 20:13:58 -03:00
co-authored by Claude Sonnet 4.6
parent b88ecb11f0
commit 9c70cd615a
+4 -1
View File
@@ -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 }}