CircleCI-Public / orb-tools-orb

Various tools for authoring and publishing CircleCI orbs
https://circleci.com/orbs/registry/orb/circleci/orb-tools
MIT License
51 stars 74 forks source link

Conditional steps are not reviewed by RC008, RC009 #132

Open KyleTryon opened 2 years ago

KyleTryon commented 2 years ago

Orb version:

v11.1.0

What happened:

First described in #128 by @wyardley, run-steps within conditional steps are not checked by RC008 and RC009

Expected behavior:

This is expected to fail RC008 and RC009

steps:
  - checkout
  - restore-deps
  - run: npm run thing1
  - when:
      condition: << parameters.run-thing2 >>
      steps:
        run: npm run thing2

Additional Information: