We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9898f commit 6abc852Copy full SHA for 6abc852
core/approval/service.go
@@ -78,7 +78,7 @@ func (s *Service) AdvanceApproval(appeal *domain.Appeal) error {
78
}
79
80
81
- if stepConfig.Strategy == domain.ApprovalStepStrategyAuto {
+ if approval.Status != domain.ApprovalStatusSkipped && stepConfig.Strategy == domain.ApprovalStepStrategyAuto {
82
v, err := evaluator.Expression(stepConfig.ApproveIf).EvaluateWithVars(map[string]interface{}{
83
"appeal": appealMap,
84
})
0 commit comments