Skip to content

Commit dd2a6e1

Browse files
Merge pull request #3 from InfoMLearningLabs/content-edits-javascript-actions
Content edits javascript actions
2 parents f3beb2c + 5e5d057 commit dd2a6e1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Write your own GitHub JavaScript Action and automate customized tasks unique to
2525
- **Who is this for**: Developers, GitHub users, users new to Git, students, managers, and for teams.
2626
- **What you'll learn**: How to consume actions within a workflow file, create custom JavaScript based actions and publish your newly created action to the marketplace.
2727
- **Prerequisites**: Before you start, you should be familiar with GitHub, GitHub Actions, and Continuous Integration with GitHub Actions.
28-
- **How long**: This course is 6 steps long and takes about TBD hours to be completed.
28+
- **How long**: This course is 6 steps long and takes about 1 to 2 hours to be completed.
2929

3030
## Projects used
3131

@@ -79,7 +79,7 @@ _In our case, we will use this one **workflow** file for many things, which lead
7979

8080
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)
8181

82-
<details id=1>
82+
<details id=1 open>
8383

8484
<summary><strong> Step 1: Initialize a new JavaScript project</strong></summary>
8585

@@ -101,7 +101,7 @@ Most of your work going forward will take place away from your Skills repository
101101
2. [ ] [Visual Studio Code](https://code.visualstudio.com/) or your editor of choice
102102
3. [ ] [Git](https://git-scm.com/)
103103

104-
### :keyboard: Activity 1: Initialize a new JavaScript project
104+
### Activity 1: Initialize a new JavaScript project
105105

106106
Once you have the necessary tools installed locally, follow these steps to begin creating your first action.
107107

@@ -130,7 +130,7 @@ Once you have the necessary tools installed locally, follow these steps to begin
130130
```shell
131131
npm init -y
132132
```
133-
8. Install the **request**, **request-promise** and **@actions/core** dependencies using `npm` from the [GitHub ToolKit (https://github.com/actions/toolkit):
133+
8. Install the **request**, **request-promise** and **@actions/core** dependencies using `npm` from the [GitHub ToolKit] (https://github.com/actions/toolkit):
134134
```shell
135135
npm install --save request request-promise @actions/core
136136
```
@@ -154,7 +154,7 @@ Once you have the necessary tools installed locally, follow these steps to begin
154154

155155
Now that we have the custom action pre-requisites, let us create **joke-action** action.
156156

157-
### :keyboard: Activity 1: Configure Your Action
157+
### Activity 1: Configure Your Action
158158

159159
All of the following steps take place inside of the `.github/actions/joke-action` directory.
160160

@@ -208,7 +208,7 @@ This file defines the following information about your action:
208208

209209
Read more about [Action metadata](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions)
210210

211-
### :keyboard: Activity 1: Create the metadata file
211+
### Activity 1: Create the metadata file
212212

213213
All of the following steps take place inside of the `.github/actions/joke-action` directory.
214214

@@ -349,7 +349,7 @@ _Don't forget to call the `run()` function._
349349
350350
</details>
351351
352-
### :keyboard: Activity 1: Creating the JavaScript files for your new action.
352+
### Activity 1: Creating the JavaScript files for your new action.
353353
354354
1. Create and add the following contents to the `.github/actions/joke-action/joke.js` file:
355355
@@ -408,7 +408,7 @@ _Don't forget to call the `run()` function._
408408
409409
All of the following steps will add the action to the workflow file that’s already in the repo [`my-workflow.yml` file](/.github/workflows/my-workflow.yml)
410410
411-
### :keyboard: Activity 1: Edit the custom action at the bottom of the workflow file.
411+
### Activity 1: Edit the custom action at the bottom of the workflow file.
412412
413413
```yaml
414414
- name: ha-ha
@@ -476,7 +476,6 @@ Follow [this guide](https://help.github.com/en/actions/automating-your-workflow-
476476
477477
### What's next?
478478
479-
- We'd love to hear what you thought of this course [in our community forum](https://github.community/c/education/github-learning-lab/34).
480479
- [Take another GitHub Skills course](https://github.com/githubskills).
481480
- [Read the GitHub Getting Started docs](https://docs.github.com/en/get-started).
482481
- To find projects to contribute to, check out [GitHub Explore](https://github.com/explore).
@@ -485,6 +484,7 @@ Follow [this guide](https://help.github.com/en/actions/automating-your-workflow-
485484
486485
---
487486
488-
Get help: [Post in our community forum](https://github.community/c/education/github-learning-lab/34) &bull; [Review the GitHub status page](https://www.githubstatus.com/)
487+
Get help: [Post in our discussion board](https://github.com/skills/.github/discussions) &bull; [Review the GitHub status page](https://www.githubstatus.com/)
489488
490489
&copy; 2022 GitHub &bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) &bull; [CC-BY-4.0 License](https://creativecommons.org/licenses/by/4.0/legalcode)
490+

0 commit comments

Comments
 (0)