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
Signed-off-by: a1k0u <[email protected]>
  • Loading branch information
lee2sh authored and a1k0u committed Nov 1, 2024
1 parent dffc21b commit 3f011fc
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 3f011fc

Please sign in to comment.