@@ -33,9 +33,9 @@ before:
33
33
- type : updateBranchProtection
34
34
- type : createIssue
35
35
title : Getting Started with GitHub
36
- body : introduction .md
36
+ body : 00_introduction .md
37
37
comments :
38
- - assign -yourself.md
38
+ - 00_assign -yourself.md
39
39
40
40
# Course artifacts:
41
41
# 1. Issue: Getting started with GitHub
65
65
operator : ===
66
66
right : ' %user.username%'
67
67
- type : respond
68
- with : turn -on-gh-pages.md
68
+ with : 01_turn -on-gh-pages.md
69
69
70
70
# 2
71
71
- title : Turn on GitHub Pages
92
92
action_id : pagesUrl
93
93
- type : respond
94
94
issue : Getting Started with GitHub
95
- with : close -issue.md
95
+ with : 02_close -issue.md
96
96
97
97
# 3
98
98
- title : Close an issue
@@ -114,13 +114,13 @@ steps:
114
114
- type : createIssue
115
115
action_id : contrib_issue
116
116
title : Your first contribution
117
- body : your -first-contribution.md
117
+ body : 03_your -first-contribution.md
118
118
comments :
119
- - create -a-branch.md
119
+ - 03_create -a-branch.md
120
120
data :
121
121
thePayload : ' %payload%'
122
122
- type : respond
123
- with : head -to-branch.md
123
+ with : 03_head -to-branch.md
124
124
data :
125
125
issueURL : ' %actions.contrib_issue.data.html_url%'
126
126
@@ -142,7 +142,7 @@ steps:
142
142
actions :
143
143
- type : respond
144
144
issue : Your first contribution
145
- with : commit -something.md
145
+ with : 04_commit -something.md
146
146
data :
147
147
thePayload : ' %payload%'
148
148
@@ -164,7 +164,7 @@ steps:
164
164
actions :
165
165
- type : respond
166
166
issue : Your first contribution
167
- with : open -a-pr.md
167
+ with : 05_open -a-pr.md
168
168
data :
169
169
branch : ' %payload.ref%'
170
170
url : ' %payload.repository.html_url%/compare/%payload.ref%?expand=1'
@@ -202,15 +202,15 @@ steps:
202
202
left : ' %payload.pull_request.body%'
203
203
else :
204
204
- type : createReview
205
- body : fix -body.md
205
+ body : 06_fix -body.md
206
206
event : REQUEST_CHANGES
207
207
- type : gate
208
208
left : ' %payload.pull_request.base.ref%'
209
209
operator : ===
210
210
right : master
211
211
else :
212
212
- type : createReview
213
- body : fix -base.md
213
+ body : 06_fix -base.md
214
214
event : REQUEST_CHANGES
215
215
- type : getTree
216
216
action_id : tree
@@ -222,13 +222,13 @@ steps:
222
222
right : path:/_posts\/\d{4}-\d{2}-\d{2}-%user.username%\.md/
223
223
else :
224
224
- type : createReview
225
- body : fix -filename.md
225
+ body : 06_fix -filename.md
226
226
event : REQUEST_CHANGES
227
227
data :
228
228
expected : _posts/0000-01-02-%user.username%.md
229
229
url : ' %payload.pull_request.html_url%/files'
230
230
- type : createReview
231
- body : request -changes.md
231
+ body : 06_request -changes.md
232
232
event : ' COMMENT'
233
233
data :
234
234
branch : ' %payload.pull_request.head.ref%'
@@ -252,7 +252,7 @@ steps:
252
252
actions :
253
253
- type : removeBranchProtection
254
254
- type : createReview
255
- body : pr -succeeds.md
255
+ body : 07_pr -succeeds.md
256
256
event : APPROVE
257
257
data :
258
258
branch : ' %payload.pull_request.head.ref%'
@@ -277,9 +277,9 @@ steps:
277
277
left : ' %payload.pull_request.merged%'
278
278
else :
279
279
- type : respond
280
- with : reopen .md
280
+ with : 08_reopen .md
281
281
- type : respond
282
- with : reminder -delete.md
282
+ with : 08_reminder -delete.md
283
283
284
284
tags : [
285
285
" Git" ,"GitHub Pages","Branches","Commits","Pull Requests"
0 commit comments