MCPcopy Create free account
hub / github.com/github/gh-aw / mutableTrackedFields

Function mutableTrackedFields

pkg/cli/outcome_eval_update.go:152–161  ·  view source on GitHub ↗
(itemType string)

Source from the content-addressed store, hash-verified

150}
151
152func mutableTrackedFields(itemType string) []string {
153 switch itemType {
154 case "update_issue":
155 return []string{"title", "body_hash", "state", "labels", "assignees"}
156 case "update_pull_request":
157 return []string{"title", "body_hash", "state", "base", "draft", "head_sha"}
158 default:
159 return nil
160 }
161}
162
163func mutableStateEqual(field string, left any, right any) bool {
164 switch field {

Callers 1

evalRetainedUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected