CircleCI Ideas

CricleCI CLI config validate does not validate workflow indents

If you define multiple workflows and have correct indentation on the first workflows and one indent too little on the rest, circleci config validate does not trigger an error.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 20 2019
  • New
CLI
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    09 Sep 04:50

    Also seeing this behaviour. 

     

    On local machine:

    #> circleci config validate
    Config file at .circleci/config.yml is valid.

     

    On CircleCI:

    Build-agent version 1.0.15094-f9052b81 (2019-09-06T14:53:51+0000)
    Configuration errors: 1 error occurred:
    
    * In step 6 definition: Step
    [removed]
    has incorrect indentation, it should be formatted like:
    [removed]