3x-ui/.github/workflows
BlindMaster24 1c0ce80e8e
fix(ci): keep a refused Claude credential from reddening a pull request (#6585)
* fix(ci): keep a refused Claude credential from reddening a PR

An expired subscription ends the claude-code-action step with exit 0, so the
classifier that exists for "the API refused this run" never sees it -- its
condition is a failed step -- and the final "posted nothing" step reddens the
pull request although nothing is wrong with the repository.

Verified against five real runs (35159059540, 35184688775, 35185722358,
35186543654, 35187380192): step 8 success, step 10 found no cause, step 11
failure, transcript {"error":"oauth_org_not_allowed"} plus a result entry with
api_error_status 403. A usage-limited run carries 429 and a rejected
rate_limit_event, and a real review carries is_error false with no status, so
the 401/403 test fires on the refused credential alone.

* fix(ci): stop a refused credential reddening the issue analysis

The same exit-0 refusal reaches this workflow's "posted no reply" check, which
fails for the same reason and shows up as seven failed runs in a day. It never
attaches to a pull request -- the trigger excludes them -- so this is the same
step and the same 401/403 transcript test applied where the refusal lands.

Reported only as a warning annotation: nothing was analysed, and there is no
comment worth posting about a credential the maintainer has to renew.
2026-09-17 10:54:12 +03:00
..
ci.yml chore(ci): give the race job a 25m test timeout 2026-09-03 21:57:38 +02:00
claude-issue-analyst.yml fix(ci): keep a refused Claude credential from reddening a pull request (#6585) 2026-09-17 10:54:12 +03:00
claude-pr-review.yml fix(ci): keep a refused Claude credential from reddening a pull request (#6585) 2026-09-17 10:54:12 +03: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 Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
smoke.yml fix(ci): stop executing tag-checkout code in the release smoke test 2026-07-07 01:23:10 +02:00