File tree 1 file changed +38
-38
lines changed
1 file changed +38
-38
lines changed Original file line number Diff line number Diff line change @@ -190,46 +190,46 @@ Below is the configuration for the pull request state machine.
190
190
// ...
191
191
'workflows' => [
192
192
'pull_request' => [
193
- 'type' => 'state_machine',
194
- 'supports' => ['App\Entity\PullRequest'],
195
- 'places' => [
196
- 'start',
197
- 'coding',
198
- 'test',
199
- 'review',
200
- 'merged',
201
- 'closed',
202
- ],
203
- 'transitions' => [
204
- 'submit'=> [
205
- 'from' => 'start',
206
- 'to' => 'test',
193
+ 'type' => 'state_machine',
194
+ 'supports' => ['App\Entity\PullRequest'],
195
+ 'places' => [
196
+ 'start',
197
+ 'coding',
198
+ 'test',
199
+ 'review',
200
+ 'merged',
201
+ 'closed',
207
202
],
208
- 'update'=> [
209
- 'from' => ['coding', 'test', 'review'],
210
- 'to' => 'test',
203
+ 'transitions' => [
204
+ 'submit'=> [
205
+ 'from' => 'start',
206
+ 'to' => 'test',
207
+ ],
208
+ 'update'=> [
209
+ 'from' => ['coding', 'test', 'review'],
210
+ 'to' => 'test',
211
+ ],
212
+ 'wait_for_review'=> [
213
+ 'from' => 'test',
214
+ 'to' => 'review',
215
+ ],
216
+ 'request_change'=> [
217
+ 'from' => 'review',
218
+ 'to' => 'coding',
219
+ ],
220
+ 'accept'=> [
221
+ 'from' => 'review',
222
+ 'to' => 'merged',
223
+ ],
224
+ 'reject'=> [
225
+ 'from' => 'review',
226
+ 'to' => 'closed',
227
+ ],
228
+ 'reopen'=> [
229
+ 'from' => 'start',
230
+ 'to' => 'review',
231
+ ],
211
232
],
212
- 'wait_for_review'=> [
213
- 'from' => 'test',
214
- 'to' => 'review',
215
- ],
216
- 'request_change'=> [
217
- 'from' => 'review',
218
- 'to' => 'coding',
219
- ],
220
- 'accept'=> [
221
- 'from' => 'review',
222
- 'to' => 'merged',
223
- ],
224
- 'reject'=> [
225
- 'from' => 'review',
226
- 'to' => 'closed',
227
- ],
228
- 'reopen'=> [
229
- 'from' => 'start',
230
- 'to' => 'review',
231
- ],
232
- ],
233
233
],
234
234
],
235
235 ]);
You can’t perform that action at this time.
0 commit comments