Skip to content

Commit

Permalink
fix: set yaml to prevent_self_approve (runatlantis#4893)
Browse files Browse the repository at this point in the history
  • Loading branch information
lee2sh authored and terakoya76 committed Dec 31, 2024
1 parent 7fb563a commit f3947d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/config/raw/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f3947d2

Please sign in to comment.