This course covers how to use GitHub Script to quickly use octokit/rest in a GitHub Actions workflow.
Start free course Join 611 others!
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:
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:
This makes use of the following open source projects. Consider exploring these repos and maybe even making contributions!
Developers, DevOps Engineers, students, teams
Create a pull request to add a workflow
Make the workflow available to the repository by merging the pull request
Use GitHub Script to place this issue into a project board
Create a pull request to add changes to your workflow
Make the workflow available for use on the repository
Separate the workflow concerns by adding more steps
Use a templated repsonse as the comment body
Create the comment body from a template using the Node.js file system module
Merge the worklow to the master branch
Observe the results of an enhanced workflow run
Final notes on course
23 minutes
All public courses on Learning Lab are free.
Learn how to do DevOps on GitHub with the power of GitHub Actions! This path will guide you through...
Add your own GitHub feature, automate workflows, and more with GitHub Apps.
Merge conflicts are a normal part of working in Git. Learn why they happen and how to resolve them...
If you are looking for a quick and fun introduction to GitHub, you've found it. This class will get...
Learn new skills by completing fun, realistic projects in your very own GitHub repository.