MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / github_is_repo_event

Function github_is_repo_event

crates/opencode-cli/src/main.rs:4156–4158  ·  view source on GitHub ↗
(event_name: &str)

Source from the content-addressed store, hash-verified

4154}
4155
4156fn github_is_repo_event(event_name: &str) -> bool {
4157 matches!(event_name, "schedule" | "workflow_dispatch")
4158}
4159
4160fn github_is_comment_event(event_name: &str) -> bool {
4161 matches!(event_name, "issue_comment" | "pull_request_review_comment")

Callers 2

handle_github_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected