We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60e3242 commit ae9c441Copy full SHA for ae9c441
1 file changed
.github/workflows/default.yml
@@ -5,6 +5,27 @@ on:
5
push:
6
pull_request:
7
workflow_dispatch:
8
+ inputs:
9
+ boolean:
10
+ description: 'A boolean input'
11
+ default: true
12
+ required: true
13
+ type: boolean
14
+ number:
15
+ description: 'A number input'
16
+ default: 0
17
18
+ type: number
19
+ string:
20
+ description: 'A string input'
21
+ default: 'foo'
22
23
+ type: string
24
+ optional:
25
+ description: 'An optional input'
26
+ default: 'fallback'
27
+ required: false
28
29
repository_dispatch:
30
31
concurrency:
@@ -20,6 +41,7 @@ jobs:
41
call_worker:
42
uses: ./.github/workflows/worker.yml
43
with:
- boolean: false
- number: 1
- string: 'hello'
44
+ boolean: ${{ inputs.boolean }}
45
+ number: ${{ inputs.number }}
46
+ string: ${{ inputs.string }}
47
+ optional: ${{ inputs.optional }}
0 commit comments