File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -167,21 +167,6 @@ export default async ({ github, context }) => {
167
167
return ;
168
168
}
169
169
170
- switch ( commentBody ) {
171
- case "/assign" :
172
- executeAssign ( github , context , isFromPulls ) ;
173
- break ;
174
- case "/ping-author" :
175
- executePingAuthor ( github , context , isFromPulls ) ;
176
- break ;
177
- case "/ok-to-e2e-test" :
178
- executeEndToEndTests ( github , context , isFromPulls ) ;
179
- break ;
180
- default :
181
- console . log ( `[main] command ${ commentBody } not found, exiting.` ) ;
182
- break ;
183
- }
184
-
185
170
// the author of this issue is interacting with it
186
171
if ( ! isFromPulls && context . actor == issue . owner ) {
187
172
// if there is a 'needs-author-feedback' label,
@@ -201,4 +186,19 @@ export default async ({ github, context }) => {
201
186
} ) ;
202
187
} ) ;
203
188
}
189
+
190
+ switch ( commentBody ) {
191
+ case "/assign" :
192
+ executeAssign ( github , context , isFromPulls ) ;
193
+ break ;
194
+ case "/ping-author" :
195
+ executePingAuthor ( github , context , isFromPulls ) ;
196
+ break ;
197
+ case "/ok-to-e2e-test" :
198
+ executeEndToEndTests ( github , context , isFromPulls ) ;
199
+ break ;
200
+ default :
201
+ console . log ( `[main] command ${ commentBody } not found, exiting.` ) ;
202
+ break ;
203
+ }
204
204
} ;
You can’t perform that action at this time.
0 commit comments