How to skip stages using env variable

Hi everyone, I am trying to migrate to the new pipelines and stages feature, but I ran into an issue trying to skip specific workflows.
Before, I was using the build-router-start step, allowing me to skip workflows if the env variable was true:

      - _set_skip_variable
    - build-router-start@0:
        run_if: '{{getenv "SKIP_WORKFLOWS" | ne "true"}}'
        - workflows: |-

Now with the new stage feature, I don’t see a way to do the same.

1 Like

This is not currently possible but I think it is required to create feature parity.

Will keep you posted on the progress, thanks for the feedback

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.