summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/input-from-cli/input.yml
blob: 42d3460f3aea502dd6b67f8195636b0c5ccc8aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
on:
  workflow_dispatch:
    inputs:
      NAME:
        description: "A random input name for the workflow"
        type: string
        required: true
      SOME_VALUE:
        description: "Some other input to pass"
        type: string
        required: true

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest

    steps:
      - name: Test with inputs
        run: |
          [ -z "${{ github.event.inputs.SOME_INPUT }}" ] && exit 1 || exit 0