Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 64d5adf

Browse files
authored
Merge pull request #51 from githubtraining/rename-responses
Rename and number responses
2 parents e6fa732 + 88458bf commit 64d5adf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+16
-16
lines changed

config.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ before:
3333
- type: updateBranchProtection
3434
- type: createIssue
3535
title: Getting Started with GitHub
36-
body: introduction.md
36+
body: 00_introduction.md
3737
comments:
38-
- assign-yourself.md
38+
- 00_assign-yourself.md
3939

4040
# Course artifacts:
4141
# 1. Issue: Getting started with GitHub
@@ -65,7 +65,7 @@ steps:
6565
operator: ===
6666
right: '%user.username%'
6767
- type: respond
68-
with: turn-on-gh-pages.md
68+
with: 01_turn-on-gh-pages.md
6969

7070
# 2
7171
- title: Turn on GitHub Pages
@@ -92,7 +92,7 @@ steps:
9292
action_id: pagesUrl
9393
- type: respond
9494
issue: Getting Started with GitHub
95-
with: close-issue.md
95+
with: 02_close-issue.md
9696

9797
# 3
9898
- title: Close an issue
@@ -114,13 +114,13 @@ steps:
114114
- type: createIssue
115115
action_id: contrib_issue
116116
title: Your first contribution
117-
body: your-first-contribution.md
117+
body: 03_your-first-contribution.md
118118
comments:
119-
- create-a-branch.md
119+
- 03_create-a-branch.md
120120
data:
121121
thePayload: '%payload%'
122122
- type: respond
123-
with: head-to-branch.md
123+
with: 03_head-to-branch.md
124124
data:
125125
issueURL: '%actions.contrib_issue.data.html_url%'
126126

@@ -142,7 +142,7 @@ steps:
142142
actions:
143143
- type: respond
144144
issue: Your first contribution
145-
with: commit-something.md
145+
with: 04_commit-something.md
146146
data:
147147
thePayload: '%payload%'
148148

@@ -164,7 +164,7 @@ steps:
164164
actions:
165165
- type: respond
166166
issue: Your first contribution
167-
with: open-a-pr.md
167+
with: 05_open-a-pr.md
168168
data:
169169
branch: '%payload.ref%'
170170
url: '%payload.repository.html_url%/compare/%payload.ref%?expand=1'
@@ -202,15 +202,15 @@ steps:
202202
left: '%payload.pull_request.body%'
203203
else:
204204
- type: createReview
205-
body: fix-body.md
205+
body: 06_fix-body.md
206206
event: REQUEST_CHANGES
207207
- type: gate
208208
left: '%payload.pull_request.base.ref%'
209209
operator: ===
210210
right: master
211211
else:
212212
- type: createReview
213-
body: fix-base.md
213+
body: 06_fix-base.md
214214
event: REQUEST_CHANGES
215215
- type: getTree
216216
action_id: tree
@@ -222,13 +222,13 @@ steps:
222222
right: path:/_posts\/\d{4}-\d{2}-\d{2}-%user.username%\.md/
223223
else:
224224
- type: createReview
225-
body: fix-filename.md
225+
body: 06_fix-filename.md
226226
event: REQUEST_CHANGES
227227
data:
228228
expected: _posts/0000-01-02-%user.username%.md
229229
url: '%payload.pull_request.html_url%/files'
230230
- type: createReview
231-
body: request-changes.md
231+
body: 06_request-changes.md
232232
event: 'COMMENT'
233233
data:
234234
branch: '%payload.pull_request.head.ref%'
@@ -252,7 +252,7 @@ steps:
252252
actions:
253253
- type: removeBranchProtection
254254
- type: createReview
255-
body: pr-succeeds.md
255+
body: 07_pr-succeeds.md
256256
event: APPROVE
257257
data:
258258
branch: '%payload.pull_request.head.ref%'
@@ -277,9 +277,9 @@ steps:
277277
left: '%payload.pull_request.merged%'
278278
else:
279279
- type: respond
280-
with: reopen.md
280+
with: 08_reopen.md
281281
- type: respond
282-
with: reminder-delete.md
282+
with: 08_reminder-delete.md
283283

284284
tags: [
285285
"Git","GitHub Pages","Branches","Commits","Pull Requests"

0 commit comments

Comments
 (0)