3x-ui/.github/workflows
Sanaei 73a971c2d1
fix(ci): give the review bot the pull request's own code and CI verdict
Three consecutive review runs (#6105, #6265, #6272) posted accurate findings
but ended with the same "nothing was verified" paragraph, and the transcripts
show why: under pull_request_target the only checkout is the base branch, so
every Read of a changed file returned the pre-merge version and the agent
fell back to fetching blobs one at a time through the API — 452 Bash calls on
#6105 alone. It tried `git fetch origin pull/N/head` in all three runs and was
denied every time.

Check the head out read-only beside the base tree and say so in the prompt, so
the reviewer greps the code actually under review. Nothing builds or executes
from pr-head/: this job carries a write-scoped token, which is exactly the
pwn-request REVIEW.md classes as blocking.

CI had already run the full gate on each head SHA, but no run ever looked —
`check-runs` appears in none of the three transcripts. Point the reviewer at
it so a red or missing required check becomes a finding instead of a
disclaimer.

Also pass an explicit review level: with none given the skill reuses the last
one typed, which in CI does not exist (ReportFindings recorded level=null on
#6272). And allow WebFetch/WebSearch — the PIA review was denied both while
trying to confirm the bundled PIA public key, then had to file that same check
as unverified.
2026-08-20 23:12:35 +02:00
..
ci.yml Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
claude-bot.yml fix(ci): give the review bot the pull request's own code and CI verdict 2026-08-20 23:12:35 +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/setup-node from 6 to 7 (#5992) 2026-07-16 13:13:55 +02:00
docker.yml ci: attach provenance and SBOM attestations to the published images (#6130) 2026-08-15 16:59:11 +02:00
docs-ci.yml Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
docs-deploy.yml chore(deps): bump actions/setup-node from 6 to 7 (#5992) 2026-07-16 13:13:55 +02:00
mutation.yml chore(deps): bump actions/setup-go from 6 to 7 (#5995) 2026-07-16 13:14:27 +02:00
release.yml ci(release): stamp released binaries with their source revision (#6223) 2026-08-18 11:37:03 +02:00
smoke.yml fix(ci): stop executing tag-checkout code in the release smoke test 2026-07-07 01:23:10 +02:00