Skip to content

Commit c6fd8a5

Browse files
committed
skip all steps on failure if the warning tag is present
1 parent 9df2923 commit c6fd8a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

terraform_compliance/common/error_handling.py

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ def _process(self):
7070
self._fail_step(self.step_obj.id)
7171
else:
7272
self.step_obj.state = Step.State.SKIPPED
73+
for step in self.step_obj.parent.all_steps:
74+
step.runable = False
7375
return
7476

7577
if self.no_failure is False:

0 commit comments

Comments
 (0)