github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/circle/yaml/testdata/params/example3.yaml (about)

     1  # Example of global parameters in conditional workflows
     2  # https://circleci.com/docs/pipeline-variables/#conditional-workflows
     3  
     4  version: 2.1
     5  
     6  parameters:
     7    run_integration_tests:
     8      type: boolean
     9      default: false
    10  
    11  workflows:
    12    integration_tests:
    13      when: << pipeline.parameters.run_integration_tests >>
    14      jobs:
    15        - mytestjob
    16  
    17  jobs:
    18    mytestjob:
    19      steps:
    20        - checkout