@@ -21,19 +21,11 @@ steps:
21
21
link : ' {{ repoUrl }}/issues/1'
22
22
video : https://www.youtube.com/embed/RlDJqryBkkI
23
23
actions :
24
- - type : gate
25
- left : ' %payload.pull_request.title%'
26
- right : Changes
27
- operator : ===
28
- else :
29
- - type : respond
30
- with : Make sure the title of your PR is "Changes"
31
- issue : Welcome to React
32
24
- type : closeIssue
33
25
issue : Welcome to React
34
26
- type : respond
35
27
with : 01_components.md
36
- issue : Changes
28
+ issue : 2
37
29
- type : createPullRequestComment
38
30
body : 01_header-component-activity.md
39
31
file : src/App.jsx
51
43
operator : ===
52
44
right : refs/heads/changes
53
45
- type : getPullRequest
54
- pullRequest : Changes
46
+ pullRequest : 2
55
47
action_id : metaPR2
56
48
- type : getFileContents
57
49
action_id : fileContents
@@ -63,10 +55,10 @@ steps:
63
55
else :
64
56
- type : respond
65
57
with : 02_bad-header.md
66
- issue : Changes
58
+ issue : 2
67
59
- type : respond
68
60
with : 02_props.md
69
- issue : Changes
61
+ issue : 2
70
62
- type : createPullRequestComment
71
63
body : 02_import-child-component-activity.md
72
64
file : src/App.jsx
85
77
operator : ===
86
78
right : refs/heads/changes
87
79
- type : getPullRequest
88
- pullRequest : Changes
80
+ pullRequest : 2
89
81
action_id : metaPR2
90
82
- type : getFileContents
91
83
action_id : fileContents
97
89
else :
98
90
- type : respond
99
91
with : 03_bad-import.md
100
- issue : Changes
92
+ issue : 2
101
93
- type : createPullRequestComment
102
94
body : 03_uncomment-assignments-activity.md
103
95
file : src/App.jsx
@@ -116,7 +108,7 @@ steps:
116
108
operator : ===
117
109
right : refs/heads/changes
118
110
- type : getPullRequest
119
- pullRequest : Changes
111
+ pullRequest : 2
120
112
action_id : metaPR2
121
113
- type : getFileContents
122
114
action_id : fileContents
@@ -128,7 +120,7 @@ steps:
128
120
else :
129
121
- type : respond
130
122
with : 04_bad-uncomment.md
131
- issue : Changes
123
+ issue : 2
132
124
- type : createPullRequestComment
133
125
body : 04_replace-title-activity.md
134
126
file : src/List.jsx
@@ -147,7 +139,7 @@ steps:
147
139
operator : ===
148
140
right : refs/heads/changes
149
141
- type : getPullRequest
150
- pullRequest : Changes
142
+ pullRequest : 2
151
143
action_id : metaPR2
152
144
- type : getFileContents
153
145
action_id : fileContents
@@ -159,10 +151,10 @@ steps:
159
151
else :
160
152
- type : respond
161
153
with : 05_bad-prop.md
162
- issue : Changes
154
+ issue : 2
163
155
- type : respond
164
156
with : 05_state.md
165
- issue : Changes
157
+ issue : 2
166
158
- type : createPullRequestComment
167
159
body : 05_add-state-variable-activity.md
168
160
file : src/App.jsx
@@ -181,7 +173,7 @@ steps:
181
173
operator : ===
182
174
right : refs/heads/changes
183
175
- type : getPullRequest
184
- pullRequest : Changes
176
+ pullRequest : 2
185
177
action_id : metaPR2
186
178
- type : getFileContents
187
179
action_id : fileContents
@@ -193,7 +185,7 @@ steps:
193
185
else :
194
186
- type : respond
195
187
with : 06_bad-state.md
196
- issue : Changes
188
+ issue : 2
197
189
- type : createPullRequestComment
198
190
body : 06_explaining-this-state-activity.md
199
191
file : src/App.jsx
@@ -217,7 +209,7 @@ steps:
217
209
operator : ===
218
210
right : refs/heads/changes
219
211
- type : getPullRequest
220
- pullRequest : Changes
212
+ pullRequest : 2
221
213
action_id : metaPR2
222
214
- type : getFileContents
223
215
action_id : fileContents
@@ -229,7 +221,7 @@ steps:
229
221
else :
230
222
- type : respond
231
223
with : 07_bad-function.md
232
- issue : Changes
224
+ issue : 2
233
225
- type : createPullRequestComment
234
226
body : 07_bind-function-activity.md
235
227
file : src/App.jsx
@@ -248,7 +240,7 @@ steps:
248
240
operator : ===
249
241
right : refs/heads/changes
250
242
- type : getPullRequest
251
- pullRequest : Changes
243
+ pullRequest : 2
252
244
action_id : metaPR2
253
245
- type : getFileContents
254
246
action_id : fileContents
@@ -260,10 +252,10 @@ steps:
260
252
else :
261
253
- type : respond
262
254
with : 04_bad-uncomment.md
263
- issue : Changes
255
+ issue : 2
264
256
- type : respond
265
257
with : 08_callbackfunctions.md
266
- issue : Changes
258
+ issue : 2
267
259
- type : createPullRequestComment
268
260
body : 08_passing-functions-activity.md
269
261
file : src/App.jsx
@@ -287,7 +279,7 @@ steps:
287
279
operator : ===
288
280
right : refs/heads/changes
289
281
- type : getPullRequest
290
- pullRequest : Changes
282
+ pullRequest : 2
291
283
action_id : metaPR2
292
284
- type : getFileContents
293
285
action_id : fileContents
@@ -299,7 +291,7 @@ steps:
299
291
else :
300
292
- type : respond
301
293
with : 09_bad-replace.md
302
- issue : Changes
294
+ issue : 2
303
295
- type : createPullRequestComment
304
296
body : 09_uncomment-grades-activity.md
305
297
file : src/App.jsx
@@ -326,11 +318,11 @@ steps:
326
318
else :
327
319
- type : respond
328
320
with : 04_bad-uncomment.md
329
- issue : Changes
321
+ issue : 2
330
322
- type : createReview
331
323
event : APPROVE
332
324
body : 10_approve.md
333
- pullRequest : Changes
325
+ pullRequest : 2
334
326
335
327
# Step 11: Merge pull request
336
328
- title : Merge your pull request
@@ -340,5 +332,5 @@ steps:
340
332
actions :
341
333
- type : respond
342
334
with : 11_congrats.md
343
- issue : Changes
335
+ issue : 2
344
336
0 commit comments