MCPcopy Create free account
hub / github.com/freecodexyz/free-code / shouldAutoRunIssue

Function shouldAutoRunIssue

src/utils/autoRunIssue.tsx:82–95  ·  view source on GitHub ↗
(reason: AutoRunIssueReason)

Source from the content-addressed store, hash-verified

80 * Determines if /issue should auto-run for Ant users
81 */
82export function shouldAutoRunIssue(reason: AutoRunIssueReason): boolean {
83 // Only for Ant users
84 if ("external" !== 'ant') {
85 return false;
86 }
87 switch (reason) {
88 case 'feedback_survey_bad':
89 return false;
90 case 'feedback_survey_good':
91 return false;
92 default:
93 return false;
94 }
95}
96
97/**
98 * Returns the appropriate command to auto-run based on the reason

Callers 1

REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected