Show HN: 适用于 Agent 的 GitHub Actions
1 分•作者: pistoriusp•5 个月前
大家好,
我真的很不喜欢 CI 涉及的“修复、提交、等待”循环。我决定通过缩短这个循环来解决这个问题。我通过模拟 GH Actions 控制面板来实现这一点:runner 是官方 GH runner,但 API 是一个模拟。
这样你就可以在 ~0 毫秒内完成缓存。失败时暂停。让你的 agent 修复并重试,无需推送!
这对于人类来说很容易,但对于 AI 来说,验证你是否真的能通过 CI 更是轻而易举——结果是,如果 CI 未通过,agent 不会告诉你它已完成。
[https://github.com/redwoodjs/agent-ci](https://github.com/redwoodjs/agent-ci)
查看原文
Hi everyone,<p>I really dislike the fix, commit, and wait loop that is involved with CI. I decided to fix that by shortening the loop. I did that by mocking the GH Actions control pane: the runner is the official GH runner, but the API is a mock.<p>What you get is caching in ~0 ms. Pause on failure. Let your agent fix it and retry, without pushing!<p>It's easy for humans, but even easier to AI to validate that your actually going to pass CI - the result is that an agent won't tell you it's done if CI doesn't pass.<p><a href="https://github.com/redwoodjs/agent-ci" rel="nofollow">https://github.com/redwoodjs/agent-ci</a>