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

Commit a34153e

Browse files
committed
Merge branch 'release-prep' of https://github.com/githubtraining/write-github-script into release-prep
2 parents 413f99e + 129c467 commit a34153e

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ before:
1919
columns:
2020
- Triage Backlog
2121
- Triage Complete
22+
store:
23+
projectUrl: '{{ result.data.html_url }}'
2224
- type: createIssue
2325
title: Start here!
2426
body: 00_welcome-issue.md

responses/00_welcome-activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Your repository can contain multiple **workflow** files that carry out a wide va
2020

2121
📖 Read more about [workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#choosing-the-type-of-actions-for-your-workflow)
2222

23-
### :keyboard: Activity: Respond to an issue when it get's opened
23+
### :keyboard: Activity: Respond to an issue when it gets opened
2424

2525
1. Create a new workflow file titled `.github/workflows/my-workflow.yml` with the following contents:
2626
You can use [this quicklink]({{quicklink}}) to easily create this file

responses/02_workflow-triggered.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
types: [opened]
1111
```
1212
13-
This means that every time an issue get's opened in this repository the GitHub Script you wrote will execute.
13+
This means that every time an issue gets opened in this repository the GitHub Script you wrote will execute.
1414
1515
You should expect to see the result right here in this issue!
1616

responses/03_add-to-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Let's add a card to a project board
22

3-
We have added a project board to this repository for you. We will use this board, named **Learning Lab Project Board**, to add cards to when a new issue is created in your repository!
3+
We have added [a project board]({{ store.projectUrl }}) to this repository for you. We will use this board, named **Learning Lab Project Board**, to add cards to when a new issue is created in your repository!
44

55
Like creating comments and opening pull requests, octokit/rest.js can be used for many more types of interactions. Managing GitHub Projects makes that list!
66

responses/04_merge-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@{{user.login}}, you're a rockstar ✨
44

5-
You'r workflow now has the necessary updates for us to have new issues automatically added to the triage board when they are created!
5+
Your workflow now has the necessary updates for us to have new issues automatically added to the triage board when they are created!
66

77
Like before, this workflow has a trigger that pertains to the repository as a whole, rather than just this branch, we will need to merge this pull request before we can start using it.
88

responses/06_steps-activity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
We will make the following changes to the current workflow file:
44

5-
- Name each step so we can easily keep track of it in the [actions tab]({{actionTab}})
5+
- Name each step so we can easily keep track of it in the [actions tab]({{actionsTab}})
66
- Use expressions to determine `if` a step should execute
77

88
### :keyboard: Activity: Add newly opened issue to project board
99

10-
1. [Edit]({{quicklink}}) the current workflow `.github/workflows/my-workflow.yml` to have he following contents:
10+
1. [Edit]({{quicklink}}) the current workflow `.github/workflows/my-workflow.yml` to have the following contents:
1111

1212
```yaml
1313
name: Learning GitHub Script

0 commit comments

Comments
 (0)