(edits EditRepositoryInput)
| 647 | } |
| 648 | |
| 649 | func hasSecurityEdits(edits EditRepositoryInput) bool { |
| 650 | return edits.enableAdvancedSecurity != nil || edits.enableSecretScanning != nil || edits.enableSecretScanningPushProtection != nil |
| 651 | } |
| 652 | |
| 653 | type SecurityAndAnalysisInput struct { |
| 654 | EnableAdvancedSecurity *SecurityAndAnalysisStatus `json:"advanced_security,omitempty"` |