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

Commit a741c5f

Browse files
committed
reformat config
1 parent b59b713 commit a741c5f

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

config.yml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: If you are looking for a quick and fun introduction to the exciting
44
template:
55
name: intro-html
66
repo: intro-to-html-template
7-
description: 'A robot powered training repository :robot:'
7+
description: "A robot powered training repository :robot:"
88
before:
99
- type: createIssue
1010
title: Welcome
@@ -14,31 +14,31 @@ before:
1414
steps:
1515
- title: Turn on GitHub Pages
1616
description: Turn on GitHub Pages in the settings page of the repository.
17-
event: page_build
18-
link: '{{ repoUrl }}/issues/1'
17+
event: page_build
18+
link: "{{ repoUrl }}/issues/1"
1919
actions:
2020
- type: octokit
2121
method: repos.getPages
22-
owner: '%payload.repository.owner.login%'
23-
repo: '%payload.repository.name%'
22+
owner: "%payload.repository.owner.login%"
23+
repo: "%payload.repository.name%"
2424
action_id: pagesUrl
2525
- type: respond
2626
with: 00-openapr.md
2727
data:
28-
pagesUrl: '%actions.pagesUrl.data.html_url%'
28+
pagesUrl: "%actions.pagesUrl.data.html_url%"
2929
issue: 1
3030

3131
- title: Open a pull request
3232
description: Open a pull request.
3333
event: pull_request.opened
34-
link: '{{ repoUrl }}/issues/1'
34+
link: "{{ repoUrl }}/issues/1"
3535
actions:
3636
- type: gate
37-
left: '%payload.pull_request.head.ref%'
37+
left: "%payload.pull_request.head.ref%"
3838
operator: ===
3939
right: add-index
4040
- type: gate
41-
left: '%payload.pull_request.base.ref%'
41+
left: "%payload.pull_request.base.ref%"
4242
operator: ===
4343
right: master
4444
- type: closeIssue
@@ -47,31 +47,31 @@ steps:
4747
- type: respond
4848
with: 02-html-structure.md
4949
data:
50-
welcomeLink: '%actions.prev.data.html_url%'
50+
welcomeLink: "%actions.prev.data.html_url%"
5151

5252
- title: Build the HTML document structure
5353
description: Follow the instructions to write the base structure of your HTML file
5454
event: pull_request.synchronize
55-
link: '{{ repoUrl }}/pulls'
55+
link: "{{ repoUrl }}/pulls"
5656
actions:
5757
- type: getFileContents
5858
filename: index.html
5959
action_id: index_file
6060
- type: htmlContainsTag
61-
html: '%actions.index_file%'
61+
html: "%actions.index_file%"
6262
tag: html
6363
action_id: contains_html
6464
required: false
6565
- type: htmlContainsTag
66-
html: '%actions.index_file%'
66+
html: "%actions.index_file%"
6767
tag: body
6868
action_id: contains_body
6969
required: false
7070
- type: gate
7171
every: true
7272
gates:
73-
- left: '%actions.contains_html%'
74-
- left: '%actions.contains_body%'
73+
- left: "%actions.contains_html%"
74+
- left: "%actions.contains_body%"
7575
else:
7676
type: createReview
7777
body: 03e-add-html.md
@@ -83,26 +83,26 @@ steps:
8383
- title: Add a title tag
8484
description: Add a title tag
8585
event: pull_request.synchronize
86-
link: '{{ repoUrl }}/pulls'
86+
link: "{{ repoUrl }}/pulls"
8787
actions:
8888
- type: getFileContents
8989
filename: index.html
9090
action_id: index_file
9191
- type: htmlContainsTag
92-
html: '%actions.index_file%'
92+
html: "%actions.index_file%"
9393
tag: head
9494
action_id: contains_head
9595
required: false
9696
- type: htmlContainsTag
97-
html: '%actions.index_file%'
97+
html: "%actions.index_file%"
9898
tag: title
9999
action_id: contains_title
100100
required: false
101101
- type: gate
102102
every: true
103103
gates:
104-
- left: '%actions.contains_title%'
105-
- left: '%actions.contains_head%'
104+
- left: "%actions.contains_title%"
105+
- left: "%actions.contains_head%"
106106
else:
107107
type: createReview
108108
event: REQUEST_CHANGES
@@ -114,46 +114,46 @@ steps:
114114
- title: Merge your first pull request
115115
description: Merge your pull request
116116
event: pull_request.closed
117-
link: '{{ repoUrl }}/pulls'
117+
link: "{{ repoUrl }}/pulls"
118118
actions:
119119
- type: gate
120-
left: '%payload.pull_request.merged%'
120+
left: "%payload.pull_request.merged%"
121121
- type: octokit
122122
method: repos.getPages
123-
owner: '%payload.repository.owner.login%'
124-
repo: '%payload.repository.name%'
123+
owner: "%payload.repository.owner.login%"
124+
repo: "%payload.repository.name%"
125125
action_id: pagesUrl
126126
- type: createIssue
127127
title: Add a header
128128
body: 05-h1-tag.md
129129
data:
130-
pagesUrl: '%actions.pagesUrl.data.html_url%'
130+
pagesUrl: "%actions.pagesUrl.data.html_url%"
131131
action_id: new_issue
132132
- type: respond
133133
with: next.md
134134
data:
135-
issueURL: '%actions.new_issue.data.html_url%'
135+
issueURL: "%actions.new_issue.data.html_url%"
136136

137137
- title: Change your username to an h1 tag
138138
description: Change your username to an h1 tag
139139
event: pull_request
140-
link: '{{ repoUrl }}/pulls'
140+
link: "{{ repoUrl }}/pulls"
141141
actions:
142142
- type: gate
143143
gates:
144-
- left: '%payload.action%'
144+
- left: "%payload.action%"
145145
operator: ===
146146
right: opened
147-
- left: '%payload.action%'
147+
- left: "%payload.action%"
148148
operator: ===
149149
right: synchronize
150150
- type: gate
151-
left: '%payload.pull_request.base.ref%'
151+
left: "%payload.pull_request.base.ref%"
152152
operator: ===
153153
right: master
154154
- type: gate
155-
left: '%payload.action%'
156-
operator: '!=='
155+
left: "%payload.action%"
156+
operator: "!=="
157157
right: opened
158158
required: false
159159
else:
@@ -163,12 +163,12 @@ steps:
163163
filename: index.html
164164
action_id: index_file
165165
- type: htmlContainsTag
166-
html: '%actions.index_file%'
166+
html: "%actions.index_file%"
167167
tag: h1
168168
action_id: contains_h1
169169
required: false
170170
- type: gate
171-
left: '%actions.contains_h1%'
171+
left: "%actions.contains_h1%"
172172
else:
173173
type: createReview
174174
event: REQUEST_CHANGES
@@ -180,18 +180,18 @@ steps:
180180
- title: Add an image
181181
description: Add an image
182182
event: pull_request.synchronize
183-
link: '{{ repoUrl }}/pulls'
183+
link: "{{ repoUrl }}/pulls"
184184
actions:
185185
- type: getFileContents
186186
filename: index.html
187187
action_id: index_file
188188
- type: htmlContainsTag
189-
html: '%actions.index_file%'
189+
html: "%actions.index_file%"
190190
tag: img
191191
attribute: src
192192
action_id: contains_img
193193
- type: gate
194-
left: '%actions.contains_img%'
194+
left: "%actions.contains_img%"
195195
else:
196196
type: createReview
197197
body: 06e-image.md
@@ -203,46 +203,46 @@ steps:
203203
- title: Merge your second pull request
204204
description: Merge your pull request
205205
event: pull_request.closed
206-
link: '{{ repoUrl }}/pulls'
206+
link: "{{ repoUrl }}/pulls"
207207
actions:
208208
- type: gate
209-
left: '%payload.pull_request.merged%'
209+
left: "%payload.pull_request.merged%"
210210
- type: octokit
211211
method: repos.getPages
212-
owner: '%payload.repository.owner.login%'
213-
repo: '%payload.repository.name%'
212+
owner: "%payload.repository.owner.login%"
213+
repo: "%payload.repository.name%"
214214
action_id: pagesUrl
215215
- type: createIssue
216216
action_id: new_issue
217217
title: Create a list
218218
body: 08-create-list.md
219219
data:
220-
pagesUrl: '%actions.pagesUrl.data.html_url%'
220+
pagesUrl: "%actions.pagesUrl.data.html_url%"
221221
- type: respond
222222
with: next.md
223223
data:
224-
issueURL: '%actions.new_issue.data.html_url%'
224+
issueURL: "%actions.new_issue.data.html_url%"
225225

226226
- title: Create a list
227227
description: Create a list
228228
event: pull_request
229-
link: '{{ repoUrl }}/pulls'
229+
link: "{{ repoUrl }}/pulls"
230230
actions:
231231
- type: gate
232232
gates:
233-
- left: '%payload.action%'
233+
- left: "%payload.action%"
234234
operator: ===
235235
right: opened
236-
- left: '%payload.action%'
236+
- left: "%payload.action%"
237237
operator: ===
238238
right: synchronize
239239
- type: gate
240-
left: '%payload.pull_request.base.ref%'
240+
left: "%payload.pull_request.base.ref%"
241241
operator: ===
242242
right: master
243243
- type: gate
244-
left: '%payload.action%'
245-
operator: '!=='
244+
left: "%payload.action%"
245+
operator: "!=="
246246
right: opened
247247
required: false
248248
else:
@@ -252,19 +252,19 @@ steps:
252252
filename: index.html
253253
action_id: index_file
254254
- type: htmlContainsTag
255-
html: '%actions.index_file%'
255+
html: "%actions.index_file%"
256256
tag: ul
257257
action_id: contains_ul
258258
required: false
259259
- type: htmlContainsTag
260-
html: '%actions.index_file%'
260+
html: "%actions.index_file%"
261261
tag: ol
262262
action_id: contains_ol
263263
required: false
264264
- type: gate
265265
gates:
266-
- left: '%actions.contains_ul%'
267-
- left: '%actions.contains_ol%'
266+
- left: "%actions.contains_ul%"
267+
- left: "%actions.contains_ol%"
268268
else:
269269
type: createReview
270270
body: 08e-list.md
@@ -276,18 +276,18 @@ steps:
276276
- title: Add links
277277
description: Add links
278278
event: pull_request.synchronize
279-
link: '{{ repoUrl }}/pulls'
279+
link: "{{ repoUrl }}/pulls"
280280
actions:
281281
- type: getFileContents
282282
filename: index.html
283283
action_id: index_file
284284
- type: htmlContainsTag
285-
html: '%actions.index_file%'
285+
html: "%actions.index_file%"
286286
tag: a
287287
action_id: contains_a
288288
required: false
289289
- type: gate
290-
left: '%actions.contains_a%'
290+
left: "%actions.contains_a%"
291291
else:
292292
type: createReview
293293
body: 09e-links.md
@@ -299,10 +299,10 @@ steps:
299299
- title: Merge your third pull request
300300
description: Merge your pull request
301301
event: pull_request.closed
302-
link: '{{ repoUrl }}/pulls'
302+
link: "{{ repoUrl }}/pulls"
303303
actions:
304304
- type: gate
305-
left: '%payload.pull_request.merged%'
305+
left: "%payload.pull_request.merged%"
306306
- type: mergeBranch
307307
head: master
308308
base: add-style
@@ -314,20 +314,20 @@ steps:
314314
- type: respond
315315
with: next.md
316316
data:
317-
issueURL: '%actions.new_pr.data.html_url%'
317+
issueURL: "%actions.new_pr.data.html_url%"
318318

319319
- title: Make it beautiful
320320
description: Add some styles to your new site
321321
event: pull_request.synchronize
322-
link: '{{ repoUrl }}/pulls'
322+
link: "{{ repoUrl }}/pulls"
323323
actions:
324324
- type: getFileContents
325325
filename: index.html
326326
action_id: index
327327
- type: gate
328328
left: '/<link rel="stylesheet" href="style.css">/'
329329
operator: test
330-
right: '%actions.index%'
330+
right: "%actions.index%"
331331
else:
332332
type: respond
333333
with: 11-style-fail.md
@@ -338,19 +338,19 @@ steps:
338338
- title: Merge the final pull request
339339
description: Get ready to show off your new skills
340340
event: pull_request.closed
341-
link: '{{ repoUrl }}/pulls'
341+
link: "{{ repoUrl }}/pulls"
342342
actions:
343343
- type: gate
344-
left: '%payload.pull_request.merged%'
344+
left: "%payload.pull_request.merged%"
345345
- type: octokit
346346
method: repos.getPages
347-
owner: '%payload.repository.owner.login%'
348-
repo: '%payload.repository.name%'
347+
owner: "%payload.repository.owner.login%"
348+
repo: "%payload.repository.name%"
349349
action_id: pagesUrl
350350
- type: respond
351351
with: 12-big-finish.md
352352
data:
353-
pagesUrl: '%actions.pagesUrl.data.html_url%'
353+
pagesUrl: "%actions.pagesUrl.data.html_url%"
354354

355-
tags:
355+
tags:
356356
- GitHub Pages

0 commit comments

Comments
 (0)