Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

satelliteworkshops/integrate-1-github-platform-what-why-and-how

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Out-of-Office Responder on GitHub Using Octokit and Webhooks

Surfing Dog

  • We will create an out of office responder when assigned issues on GitHub.
  • A workshop exercise to demonstrate how GitHub webhooks work using @octokit/webhooksand how we can make calls to GitHub using @octokit/rest

Setup

  • No need to do this prior to the workshop. We will go over each item step by step during the workshop.

  • Register an account on GitHub if you do not already have an account.

  • Connect to the Out of Office Skeleton project

Obtain a Personal Access Token (PAT)

  • Obtain a Personal Access Token by following these steps here You will need the Personal Access Token (PAT) value later.

Remix this project!

  • Follow these steps. Remember what the URL is when the glitch project is remixed.

We will come back to setting up your glitch project after we set up the webhook!

Set up webhook

  • Set up the webhook by following these steps. Remember the secret you had set for the webhook.

Go back to Glitch project and set the .env file values.

  • Click on the .env file.

    • Type in the secret you specified when setting up the webhook
    • Set the Personal Access Token (PAT) value.
    • Set the PORT value to 3000.

    envfile

About

Let's create an out-of-office responder to see how webhooks work!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published