|
1 | | -This is the description we show on the course page [here](https://lab.github.com/githubtraining/write-github-script). This first paragraph will be featured at the top of the page so make it great. |
2 | | - |
| 1 | +[GitHub Script](https://github.com/actions/github-script) is a special action that allows using [octokit/rest.js](https://octokit.github.io/rest.js/v17) directly in a workflow file. |
3 | 2 |
|
4 | | - |
5 | | -Be sure to tell the learner about the technology you are teaching, why they should learn it, how they can use it, and what you will teach them. |
6 | | - |
| 3 | +Over the duration of this course you will learn the skills needed to begin using the GitHub Script action to interact with your repository which will save you from creating full blown actions that carry unnecessary overhead. |
7 | 4 |
|
| 5 | +## What you'll learn |
8 | 6 |
|
9 | | -Include information on how they can reach you for questions about the content or course. |
| 7 | +In this course you will learn how to: |
| 8 | + |
| 9 | +- Use GitHub Script in your workflow |
| 10 | +- Comment on issues using octokit |
| 11 | +- Add issues to a project board using octokit |
| 12 | +- Use the workflow expression syntax to filter when jobs run in a workflow. |
| 13 | + |
| 14 | +## What you'll build |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +In this course you will automatically generate a comment on every new issue using a templated response. Additionally, if this issue is labeled as a bug it will be automatically added to the "needs triage" column of a project board. |
| 19 | + |
| 20 | +## Prerequisites |
| 21 | + |
| 22 | +We first recommend taking the following courses: |
| 23 | + |
| 24 | +- [Hello, GitHub Actions!](https://lab.github.com/github/hello-github-actions!) to learn the basics of how GitHub Actions work |
| 25 | +- [GitHub Actions: Continuous Integration](https://lab.github.com/githubtraining/github-actions:-continuous-integration) to dive deeper into a workflow file |
| 26 | + |
| 27 | +## Projects used |
| 28 | + |
| 29 | +This makes use of the following open source projects. Consider exploring these repos and maybe even making contributions! |
| 30 | + |
| 31 | +- [GitHub Script](https://github.com/actions/github-script), a unique action that provides an authenticated octokit client and allows JavaScript to be written directly in a workflow file. |
| 32 | + |
| 33 | +## Audience |
| 34 | + |
| 35 | +Developers, DevOps Engineers, students, teams |
0 commit comments