3x-ui/.github
MHSanaei 29b14dac59
feat(ci): let mention bot push commits to fork PR branches
claude-code-action checks out the PR head branch and pushes Claude's
commits with `git push origin ...`. For PRs opened from a fork the head
branch lives on the contributor's repo, and the workflow GITHUB_TOKEN
cannot push there, so commits ended up as a stray branch on this repo
and never landed on the PR.

Redirect origin's push URL to the PR head repository (the fork for fork
PRs, this repo otherwise) using a PAT secret (CLAUDE_BOT_PAT) that has
push access; fetches still come from origin. persist-credentials is
disabled so the PAT in the push URL is used instead of the GITHUB_TOKEN
auth header. Requires the fork PR to have "Allow edits by maintainers"
enabled.
2026-06-20 23:41:45 +02:00
..
ISSUE_TEMPLATE chore(github): overhaul issue and PR templates 2026-05-24 22:14:28 +02:00
workflows feat(ci): let mention bot push commits to fork PR branches 2026-06-20 23:41:45 +02:00
dependabot.yml Security hardening: sessions, SSRF, CSP nonce, CSRF logout, trusted proxies (#4275) 2026-05-13 12:52:52 +02:00
FUNDING.yml chore(github): overhaul issue and PR templates 2026-05-24 22:14:28 +02:00
pull_request_template.md chore(github): overhaul issue and PR templates 2026-05-24 22:14:28 +02:00