fix: set yaml to prevent_self_approve (#4893)

This commit is contained in:
Jaden Lee
2024-09-03 19:13:57 -04:00
committed by GitHub
parent 9a0c648748
commit d18e9bba44

View File

@@ -75,7 +75,7 @@ type PolicySet struct {
Name string `yaml:"name" json:"name"`
Owners PolicyOwners `yaml:"owners,omitempty" json:"owners,omitempty"`
ApproveCount int `yaml:"approve_count,omitempty" json:"approve_count,omitempty"`
PreventSelfApprove bool `yaml:"self_approve,omitempty" json:"prevent_self_approve,omitempty"`
PreventSelfApprove bool `yaml:"prevent_self_approve,omitempty" json:"prevent_self_approve,omitempty"`
}
func (p PolicySet) Validate() error {