GitHub Script is a special action that allows using octokit/rest.js directly in a workflow file.
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.
In this course you will learn how to:
- Use GitHub Script in your workflow
- Comment on issues using octokit
- Add issues to a project board using octokit
- Use the workflow expression syntax to filter when jobs run in a workflow.
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.
We first recommend taking the following courses:
- Hello, GitHub Actions! to learn the basics of how GitHub Actions work
- GitHub Actions: Continuous Integration to dive deeper into a workflow file
This makes use of the following open source projects. Consider exploring these repos and maybe even making contributions!
- GitHub Script, a unique action that provides an authenticated octokit client and allows JavaScript to be written directly in a workflow file.
Developers, DevOps Engineers, students, teams