diff --git a/data/reusables/actions/workflow-dispatch-inputs.md b/data/reusables/actions/workflow-dispatch-inputs.md index f7de2293a5..632d91a654 100644 --- a/data/reusables/actions/workflow-dispatch-inputs.md +++ b/data/reusables/actions/workflow-dispatch-inputs.md @@ -15,10 +15,14 @@ on: - info - warning - debug {% endif %} + print_tags: + description: 'True to print to STDOUT' + required: true {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5511 %} + type: boolean {% endif %} tags: description: 'Test scenario tags' - required: false {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5511 %} - type: boolean + required: true {% ifversion fpt or ghec or ghes > 3.3 or ghae-issue-5511 %} + type: string environment: description: 'Environment to run tests against' type: environment @@ -27,7 +31,7 @@ on: jobs: print-tag: runs-on: ubuntu-latest - + if: {% raw %} ${{ inputs.print_tags == 'true' }} {% endraw %} steps: - name: Print the input tag to STDOUT run: echo {% raw %} The tag is ${{ github.event.inputs.tag }} {% endraw %}