From 2a35ea4966ff719bdc5e8dddb96a1fe7cfaac59f Mon Sep 17 00:00:00 2001 From: Briana Swift Date: Mon, 3 Feb 2020 14:41:18 +0100 Subject: [PATCH] add gate in intro to html course for actual list items --- config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.yml b/config.yml index 63a0c77..0c2d92e 100644 --- a/config.yml +++ b/config.yml @@ -276,6 +276,18 @@ steps: type: createReview body: 08e-list.md event: REQUEST_CHANGES + - type: htmlContainsTag + html: "%actions.index_file%" + tag: li + action_id: contains_li + required: true + - type: gate + gates: + - left: "%actions.contains_li%" + else: + type: createReview + body: 08e-list.md + event: REQUEST_CHANGES - type: createPullRequestComment body: 09-add-links.md file: index.html