Skip to content

Commit fb71774

Browse files
committed
Fix typo in Workflow docs (form -> from)
1 parent f415141 commit fb71774

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

workflow/state-machines.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -158,31 +158,31 @@ Below is the configuration for the pull request state machine.
158158
),
159159
'transitions' => array(
160160
'start'=> array(
161-
'form' => 'start',
161+
'from' => 'start',
162162
'to' => 'travis',
163163
),
164164
'update'=> array(
165-
'form' => array('coding','travis','review'),
165+
'from' => array('coding','travis','review'),
166166
'to' => 'travis',
167167
),
168168
'wait_for_reivew'=> array(
169-
'form' => 'travis',
169+
'from' => 'travis',
170170
'to' => 'review',
171171
),
172172
'request_change'=> array(
173-
'form' => 'review',
173+
'from' => 'review',
174174
'to' => 'coding',
175175
),
176176
'accept'=> array(
177-
'form' => 'review',
177+
'from' => 'review',
178178
'to' => 'merged',
179179
),
180180
'reject'=> array(
181-
'form' => 'review',
181+
'from' => 'review',
182182
'to' => 'closed',
183183
),
184184
'reopen'=> array(
185-
'form' => 'start',
185+
'from' => 'start',
186186
'to' => 'review',
187187
),
188188
),

workflow/usage.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ like this:
117117
),
118118
'transitions' => array(
119119
'to_review'=> array(
120-
'form' => 'draft',
120+
'from' => 'draft',
121121
'to' => 'review',
122122
),
123123
'publish'=> array(
124-
'form' => 'review',
124+
'from' => 'review',
125125
'to' => 'published',
126126
),
127127
'reject'=> array(
128-
'form' => 'review',
128+
'from' => 'review',
129129
'to' => 'rejected',
130130
),
131131
),

0 commit comments

Comments
 (0)