github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/yaml/testdata/on-workflow-dispatch/example-1.yaml (about) 1 on: 2 workflow_dispatch: 3 inputs: 4 logLevel: 5 description: 'Log level' 6 required: true 7 default: 'warning' 8 type: choice 9 options: 10 - info 11 - warning 12 - debug 13 print_tags: 14 description: 'True to print to STDOUT' 15 required: true 16 type: boolean 17 tags: 18 description: 'Test scenario tags' 19 required: true 20 type: string 21 environment: 22 description: 'Environment to run tests against' 23 type: environment 24 required: true 25 26 jobs: 27 print-tag: 28 runs-on: ubuntu-latest 29 if: ${{ inputs.print_tags }} 30 steps: 31 - name: Print the input tag to STDOUT 32 run: echo The tags are ${{ inputs.tags }}