File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
pull_request :
7
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
+ required : true
18
+ type : number
19
+ string :
20
+ description : ' A string input'
21
+ default : ' foo'
22
+ required : true
23
+ type : string
24
+ optional :
25
+ description : ' An optional input'
26
+ default : ' fallback'
27
+ required : false
28
+ type : string
8
29
repository_dispatch :
9
30
10
31
concurrency :
20
41
call_worker :
21
42
uses : ./.github/workflows/worker.yml
22
43
with :
23
- boolean : false
24
- number : 1
25
- string : ' hello'
44
+ boolean : ${{ inputs.boolean }}
45
+ number : ${{ inputs.number }}
46
+ string : ${{ inputs.string }}
47
+ optional : ${{ inputs.optional }}
You can’t perform that action at this time.
0 commit comments