@@ -5,12 +5,6 @@ name: Check
55on :
66 workflow_dispatch :
77 workflow_call :
8- inputs :
9- called :
10- description : This tells it was called
11- required : false
12- type : boolean
13- default : true
148 pull_request :
159 branches :
1610 - ' 3.12'
4539 persist-credentials : false
4640
4741 - name : Download PO files (if called)
48- if : github.event.inputs.called == true
42+ if : github.event_name == "workflow_dispatch"
4943 uses : actions/download-artifact@v3.0.2
5044 with :
5145 name : translations
@@ -106,7 +100,7 @@ jobs:
106100 persist-credentials : false
107101
108102 - name : Download PO files (if called)
109- if : github.event.inputs.called == true
103+ if : github.event_name == "workflow_dispatch"
110104 uses : actions/download-artifact@v3.0.2
111105 with :
112106 name : translations
@@ -158,7 +152,7 @@ jobs:
158152 persist-credentials : false
159153
160154 - name : Download PO files (if called)
161- if : github.event.inputs.called == true
155+ if : github.event_name == "workflow_dispatch"
162156 uses : actions/download-artifact@v3.0.2
163157 with :
164158 name : translations
@@ -191,7 +185,7 @@ jobs:
191185 persist-credentials : false
192186
193187 - name : Download PO files (if called)
194- if : github.event.inputs.called == true
188+ if : github.event_name == "workflow_dispatch"
195189 uses : actions/download-artifact@v3.0.2
196190 with :
197191 name : translations
0 commit comments