mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 07:04:53 +00:00
ci: replace Cursor GitHub automation with Claude Code
Swap issue triage, implement, follow-up, and Codex-fix jobs from Cursor CLI to Claude Code against Ollama Cloud (glm-5.3-flash:cloud). Isolated research now uses Brave Search. Automation files and repo variables use an ai- prefix; existing cursor-* HTML markers and cursor/issue-* branches still parse so in-flight work is not reprocessed.
This commit is contained in:
1 parent
180470a03b
commit
f2dfd770ca
17 files changed
+1993
-1536
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -23,14 +23,14 @@ jobs:
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
sparse-checkout: |
|
||||
scripts/cursor-automation.cjs
|
||||
scripts/ai-automation.cjs
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Validate title and body
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const auto = require(`${process.env.GITHUB_WORKSPACE}/scripts/cursor-automation.cjs`);
|
||||
const auto = require(`${process.env.GITHUB_WORKSPACE}/scripts/ai-automation.cjs`);
|
||||
const issue = context.payload.issue;
|
||||
const errors = auto.getIssueFormatErrors(issue);
|
||||
const labels = new Set(
|
||||
@@ -58,14 +58,14 @@ jobs:
|
||||
await github.rest.actions.createWorkflowDispatch({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
workflow_id: 'cursor-automation.yml',
|
||||
workflow_id: 'ai-automation.yml',
|
||||
ref,
|
||||
inputs: {
|
||||
issue_number: String(issue.number),
|
||||
},
|
||||
});
|
||||
core.info(
|
||||
`Dispatched cursor-automation for recovered issue #${issue.number}`,
|
||||
`Dispatched ai-automation for recovered issue #${issue.number}`,
|
||||
);
|
||||
} catch (err) {
|
||||
core.setFailed(
|
||||
|
||||
Reference in new issue
Block a user