(itemType string)
| 150 | } |
| 151 | |
| 152 | func 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 | |
| 163 | func mutableStateEqual(field string, left any, right any) bool { |
| 164 | switch field { |
no outgoing calls
no test coverage detected