3x-ui/.github/workflows
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
..
ci.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
claude-bot.yml feat(ci): let mention bot push commits to fork PR branches 2026-06-20 23:41:45 +02:00
cleanup_caches.yml Run cache cleanup daily and reduce cutoff to 1 day 2026-04-21 20:36:28 +02:00
codeql.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
docker.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
image.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
mutation.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
release.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00
smoke.yml chore(deps): bump actions/checkout from 6 to 7 (#5454) 2026-06-20 22:25:41 +02:00