-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
54 lines (47 loc) · 2.63 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
title: Create a custom VC module
description: Guide to create a custom module for Virto Commerce Platform # a longer description for your Learning Lab course, displayed on the course's landing page
# Repository setup
# The following section template information for the repository
# This will be used when the repository is crated for each individual learner
template:
name: create-vc-custom-module
repo: vc-custom-module
# `before` block
# Actions to take place after the learner registers, but before they start interacting with their repo
before:
- type: respond
with: 01_first-response.md # the type of action, full list at https://lab.github.com/docs/actions/
# some actions require additional options, those should appear below `type:`
# you can execute multiple actions in the `before` block
# Steps for the course
# A list of steps that take the learner through the course
# Create one step for each action that a learner will complete
steps:
# Step 1: EDIT HERE - INTERNAL COMMENT DESCRIBING STEP
- title: "Create new module" # the title of the step, shown to the learner in the course progress page
description: "New module should be created from a special VC module template in Visual Studio. The template is available as a Visual Studio extension online." # a description of the step, shown to the learner in the course progress page
event: pull_request.synchronize # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/
actions: # a list of the actions that will occur when the step is triggered by an event
- type: gate
left: '%payload.pull_request.title%'
operator: ===
right: "Creating the config file"
else:
- type: respond
with: 01_try-again.md
- type: respond
with: 01_nice-work.md
# Step 2: EDIT HERE - INTERNAL COMMENT DESCRIBING STEP
- title: "Edit Core" # the title of the step, shown to the learner in the course progress page
description: "New module should be created from a special VC module template in Visual Studio. The template is available as a Visual Studio extension online." # a description of the step, shown to the learner in the course progress page
event: pull_request.synchronize # the event that will trigger the actions to be executed, full list at https://developer.github.com/v3/activity/events/types/
actions: # a list of the actions that will occur when the step is triggered by an event
- type: gate
left: '%payload.pull_request.title%'
operator: ===
right: "Creating the config file"
else:
- type: respond
with: 01_try-again.md
- type: respond
with: 01_nice-work.md