MCPcopy Create free account
hub / github.com/alibaba/open-code-review / validationStep

Function validationStep

scripts/github-actions/action-contract.test.js:214–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214function validationStep() {
215 return STEPS.find((step) => {
216 const haystack = `${step.name}\n${step.run || ""}`;
217 return /review(?:[ _-]?task)?[ _-]?timeout/i.test(haystack);
218 });
219}
220
221function installStep() {
222 return STEPS.find((step) => /install\s+opencode|install\s+open.?code.?review/i.test(step.name));

Calls

no outgoing calls

Tested by

no test coverage detected