github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/stage-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      type: ci
    21      when:
    22      - branch:
    23          in:
    24          - main
    25      - event:
    26          in:
    27          - push
    28  version: 1