github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/step-conditional.yaml (about)

     1  options: {}
     2  kind: pipeline
     3  spec:
     4    stages:
     5    - name: test
     6      spec:
     7        clone:
     8          depth: 50
     9        runtime:
    10          spec: {}
    11          type: machine
    12        steps:
    13        - name: test
    14          spec:
    15            image: golang
    16            run: |-
    17              go build
    18              go test
    19          type: script
    20          when:
    21          - branch:
    22              in:
    23              - main
    24              - develop
    25      type: ci
    26      when:
    27      - event:
    28          in:
    29          - push
    30          - pull_request
    31  version: 1