(edits EditRepositoryInput)
| 654 | } |
| 655 | |
| 656 | func hasSecurityEdits(edits EditRepositoryInput) bool { |
| 657 | return edits.enableAdvancedSecurity != nil || edits.enableSecretScanning != nil || edits.enableSecretScanningPushProtection != nil |
| 658 | } |
| 659 | |
| 660 | type SecurityAndAnalysisInput struct { |
| 661 | EnableAdvancedSecurity *SecurityAndAnalysisStatus `json:"advanced_security,omitempty"` |