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

Latest commit

 

History

History
35 lines (20 loc) · 1.87 KB

course-details.md

File metadata and controls

35 lines (20 loc) · 1.87 KB

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.

What you'll learn

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.

What you'll build

A user opens an issue, the GitHub Actions bot responds with a welcome message. Another window shows that the issue has been added to a project board.

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.

Prerequisites

We first recommend taking the following courses:

Projects used

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.

Audience

Developers, DevOps Engineers, students, teams