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

Commit 6ce1135

Browse files
committed
Replace existing activity text
1 parent 71f29cf commit 6ce1135

6 files changed

Lines changed: 19 additions & 17 deletions

File tree

responses/add-context.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ We need to validate against the learner's pull request title. This information i
22

33
We'll add the `left:` option to the gate, and set it to the pull request's title.
44

5-
Activity:
5+
### :keyboard: Activity: Adding validation
6+
67
1. Add a `left:` option to the gate
78
1. Set the gate's `left:` option to the pull request's title which is `'%payload.pull_request.title%'`.
89
1. Set the gate's `operator:` to `===`
910
1. Set the gate's `right:` to the title we expect which is `Add name to README`
1011

11-
You can also accept the suggested changes below. They're in batch, so you'll have to go to Files Changed.
12+
You can also accept the suggested changes below. They're in batch, so you'll have to go to Files Changed.

responses/add-response.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Great, we referenced a file title `welcome-text.md`, but it doesn't exist. Learning Lab automatically looks in the `responses/` directory for all content files. Let's add it.
22

3-
Activity: add a response
3+
### :keyboard: Activity: Adding a response
44

55
1. In the `/responses/` folder, create a new file titled `welcome-text.md`
6-
1. In that file, add some content that will appear to the learner in the welcome issue.
7-
1. Add an instruction for the learner to open a new PR titled "Add name to README" in which they add their name to the README file.
6+
1. In that file, add some content that will appear to the learner in the welcome issue.
7+
1. Add an instruction for the learner to open a new PR titled "Add name to README" in which they add their name to the README file.

responses/publish.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Your course is now complete! Let's publish it.
1+
Your course is now complete! Let's publish it.
22

3-
Activity: Publish your course
3+
### :keyboard: Activity: Publish your course
44

55
1. Merge this PR.
6-
1. Confirm that you are an owner of the **{{ owner }}** organization, or a member of a team named **lab-assistants** in the **{{ owner }}** organization.
6+
1. Confirm that you are an owner of the **{{ owner }}** organization, or a member of a team named **lab-assistants** in the **{{ owner }}** organization.
77
1. Navigate to https://lab-sandbox.github.com/{{ owner }}/new.
88
1. In the Repository name field, type in **{{ repo }}**
9-
1. We recommend selecting **Private** so you can test the course with other members of the organization before making it public.
9+
1. We recommend selecting **Private** so you can test the course with other members of the organization before making it public.

responses/respond-success.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
When your learner is successful, gates let the actions that follow execute.
22

3-
Let's respond to the learner letting them know they've completed our course upon successfully open the PR with a proper title.
3+
Let's respond to the learner letting them know they've completed our course upon successfully open the PR with a proper title.
4+
5+
### :keyboard: Activity: Responding to successful actions
46

5-
Activity:
67
1. In the same step, add a respond action.
78
1. Add a `with:` option for the response file.
89

9-
We created the response file for you but feel free to change it.
10+
We created the response file for you but feel free to change it.
1011

11-
You can also accept the suggested changes below.
12+
You can also accept the suggested changes below.

responses/validate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Let's now validate the learner's PR. We asked them to title the PR "Add name to
22

33
The action that will help us validate the learner's PR is a `gate`. Gates are conditionals, and they behave much like a conditional in Javascript. Let's add a `gate`, we'll specify its options in a later step.
44

5-
Activity: add a gate
5+
### :keyboard: Activity: Adding a gate
66

7-
1. Add a gate or accept the suggested change below.
7+
1. Add a gate or accept the suggested change below.

responses/welcome.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Welcome. There's some boilerplate in your Code tab which contains most of what y
22

33
However, we need to fill in some of the fields. I've started a branch with the first changes.
44

5-
Activity: Open a PR for the title
5+
### :keyboard: Activity: Open a PR
66

7-
1. [Open a pull request]({{ prUrl }}) against `add-metadata`.
7+
1. [Open a pull request]({{ prUrl }}) against `add-metadata`.

0 commit comments

Comments
 (0)