Conditionally Skip Approval Steps
Step 1. Add a Policy to Skip a Step
resource "abbey_grant_kit" "null_grant" {
...
workflow = {
steps = [
{
reviewers = {
one_of = ["[email protected]"]
}
}
},
{
reviewers = {
one_of = ["[email protected]", "[email protected]"]
}
}
},
{
reviewers = {
all_of = ["[email protected]", "[email protected]", "[email protected]"]
}
+ skip_if = [
+ { bundle = "github://example-org/example-repo/policies/on-call" }
+ ]
+ }
]
}
...
}Last updated