Run task's confirm before depends
#8907
-
|
Hi, This might have a good reason behind it (or I might be missing some configuration option), but the current behaviour of a task's Clearly, the [tasks.apply]
description = "Apply Terraform execution plan for each environment"
confirm = "Are you sure you want to apply the Terraform plan for all environments?"
depends = "//...:apply"The behaviour I expected would be to show the confirmation prompt before doing anything. Thanks 🙏🏻
|
Beta Was this translation helpful? Give feedback.
Answered by
gregbrowndev
Apr 4, 2026
Replies: 1 comment 1 reply
-
|
don't think I agree |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fair enough...
The solution then is to use
run = [{ task = "//...:apply" }]instead ofdepends. Avoid usingrun = "mise //...:apply"as it invokesmiseagain and makes the output look bad.