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

Commit dacfdd0

Browse files
committed
add links to repos for forking
1 parent f4c2c92 commit dacfdd0

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ steps:
4343
right: assigned
4444
- type: respond
4545
with: how-to-publish.md
46+
data:
47+
url: '%payload.repository.html_url%/fork'
4648
- type: respond
4749
with: change-mind.md
4850
- type: createPullRequest
@@ -571,8 +573,11 @@ steps:
571573
title: Publish your course
572574
body: 14.0_congratulations.md
573575
action_id: publishIssue
574-
comments:
575-
- how-to-publish.md
576+
- type: respond
577+
issue: '%actions.publishIssue.data.title%'
578+
with: how-to-publish.md
579+
data:
580+
url: '%payload.repository.html_url%/fork'
576581
- type: respond
577582
with: goto-publish.md
578583
data:

responses/how-to-publish.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Since Learning Lab courses must be owned by your organization, you'll need to [fork](https://help.github.com/articles/fork-a-repo/) the courses there first. Here are the instructions:
1+
Since Learning Lab courses must be owned by your organization, you'll need to [fork](https://help.github.com/articles/fork-a-repo/) the course and template repositories there first. Here are the instructions:
22

33
## Publish the course
44
1. Choose an organization that will house your Learning Lab courses. You may have done this prior to taking the course.
55
1. Confirm that you are an owner of the chosen Learning Lab course organization, or a member of a team named **lab-assistants** in that organization.
6-
1. Fork this repository to your chosen organization.
7-
1. Fork the template repository to your chosen organization.
6+
1. [Fork this repository]({{ url }}) to your chosen organization.
7+
1. [Fork the template repository](https://github.com/githubtraining/lab-starter-template/fork) to your chosen organization.
88
1. Navigate to `https://lab-sandbox.github.com/YOUR-ORGANIZATION/new`
99
1. In the Repository name field, type in **{{ repo }}**
1010
1. We recommend selecting **Private** so you can test the course with other members of the organization before making it public.

0 commit comments

Comments
 (0)