Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Steps #110

Open
jaredoconnell opened this issue Oct 10, 2023 · 0 comments
Open

Disable Steps #110

jaredoconnell opened this issue Oct 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jaredoconnell
Copy link
Contributor

Please describe what you would like to see in this project

Add a way to disable steps. This would be a value that if true, the step is disabled.
A disabled step should not have its schema run, and it should immediately resolve outputs.

Please describe your use case

This would allow the creation of a workflow that supports all desired features, with inputs that would allow disabling steps. For example, if you ran both steps A and B normally, but wanted to make step B optional, you could set step B's disabled field with a workflow input. If it's disabled, it doesn't bother running that step. It would be like having a workflow with that step removed from the YAML.

Inputs would logically use required_if to only be required if the steps they depend on are required.

@jaredoconnell jaredoconnell added the enhancement New feature or request label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant