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

Commit b2f3361

Browse files
authored
Merge pull request #28 from githubtraining/validate-lists
Add gate in intro to html course for actual list items
2 parents a408a8b + 1990009 commit b2f3361

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,18 @@ steps:
276276
type: createReview
277277
body: 08e-list.md
278278
event: REQUEST_CHANGES
279+
- type: htmlContainsTag
280+
html: "%actions.index_file%"
281+
tag: li
282+
action_id: contains_li
283+
required: false
284+
- type: gate
285+
gates:
286+
- left: "%actions.contains_li%"
287+
else:
288+
type: createReview
289+
body: 08e-list.md
290+
event: REQUEST_CHANGES
279291
- type: createPullRequestComment
280292
body: 09-add-links.md
281293
file: index.html

0 commit comments

Comments
 (0)