35 lines
803 B
Markdown
35 lines
803 B
Markdown
```yaml
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
logLevel:
|
|
description: 'Log level'
|
|
required: true
|
|
default: 'warning'
|
|
type: choice
|
|
options:
|
|
- info
|
|
- warning
|
|
- debug
|
|
print_tags:
|
|
description: 'True to print to STDOUT'
|
|
required: true
|
|
type: boolean
|
|
tags:
|
|
description: 'Test scenario tags'
|
|
required: true
|
|
type: string
|
|
environment:
|
|
description: 'Environment to run tests against'
|
|
type: environment
|
|
required: true
|
|
|
|
jobs:
|
|
print-tag:
|
|
runs-on: ubuntu-latest
|
|
if:{% raw %} ${{ inputs.print_tags }} {% endraw %}
|
|
steps:
|
|
- name: Print the input tag to STDOUT
|
|
run: echo {% raw %} The tags are ${{ inputs.tags }} {% endraw %}
|
|
```
|