()
| 4269 | } |
| 4270 | |
| 4271 | fn github_action_context_lines() -> Vec<String> { |
| 4272 | vec![ |
| 4273 | "<github_action_context>".to_string(), |
| 4274 | "You are running as a GitHub Action. Important:".to_string(), |
| 4275 | "- Git push and PR creation are handled AUTOMATICALLY by the opencode infrastructure after your response".to_string(), |
| 4276 | "- Do NOT include warnings or disclaimers about GitHub tokens, workflow permissions, or PR creation capabilities".to_string(), |
| 4277 | "- Do NOT suggest manual steps for creating PRs or pushing code - this happens automatically".to_string(), |
| 4278 | "- Focus only on the code changes and your analysis/response".to_string(), |
| 4279 | "</github_action_context>".to_string(), |
| 4280 | ] |
| 4281 | } |
| 4282 | |
| 4283 | fn build_prompt_data_for_issue( |
| 4284 | owner: &str, |
no outgoing calls
no test coverage detected