3x-ui/.github/workflows
MHSanaei 097bb7646a fix(ci): move the issue analyst's static instructions out of the workflow
GitHub evaluates a `with:` value holding ${{ }} as one expression and
rejects the whole workflow when it passes 21,000 characters. The analyst
prompt was 19,883; 6eeaaa91 took it to 21,389 and 99d971ff to 23,257, so
since that push the file is invalid: no issue gets an analysis, and every
push records a failed, job-less run named after the file. actionlint does
not check this limit, which is how it shipped.

The static parts - repository context pointer, issue forms, how to
investigate, resuming and maintainer-request modes, evidence discipline,
the severity/confidence/verdict scales, the security exception, labels and
closing, and the comment format - move verbatim to
.github/claude/issue-analyst-instructions.md, which the prompt tells the
analyst to read in full first, as it already does for
issue-analyst-context.md. The prompt keeps everything that needs an
expression or guards the run: the trigger mode, CURRENT ISSUE, the fenced
untrusted data, RULES and the marker. It is now 5,597 characters. The
stale "code changes happen when the maintainer mentions @claude" rule is
replaced: no workflow here changes code, and @claude analyze now exists.

TestBotPromptsFitGitHubExpressionLimit in bot_context_test.go reads every
claude-*.yml and fails on a ${{ }} value over the limit; it is red on
99d971ff (23,257). The instructions file joins the analyst paths pinned by
TestAnalystContextNamesRealPaths, and the file's header now names
everything it pins. actionlint 1.7.7 passes.
2026-10-12 17:05:37 +02:00
..
ci.yml chore(nodes): add a master+node end-to-end harness and CI job 2026-10-05 13:14:30 +02:00
claude-issue-analyst.yml fix(ci): move the issue analyst's static instructions out of the workflow 2026-10-12 17:05:37 +02:00
claude-pr-review.yml fix(ci): drop id-token from the Claude workflows and tighten the review comment 2026-10-12 13:39:29 +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(ci): stop release and CodeQL runs on PRs, drop deploy smoke tests 2026-09-27 02:44:14 +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 feat(xray): update xray-core to v26.10.10 and adapt panel 2026-10-11 07:55:12 +02:00