CLI and GitHub Action to boop my nose
There are two ways to boop my nose
-
Run the CLI (requires node 14.8+, install at nodejs.org)
npx boop-gregors-nose
If you have write access to this repository, it will bump the counter directly. Otherwise it will create an issue and I'll boop the nose for you :)
-
Just create an issue in this repository. The Boop GitHub Action bumps the counter for each new issue.
Happy booping 🐶👈
This repository is a follow up to @jlengstorf's and @gr2m's episode on "Learn With Jason": https://www.learnwithjason.dev/github-automation-with-octokit (May 18th, 2021).
In this episode, we used octokit
to bump Jason's nose boop counter on his profile page: https://github.com/jlengstorf/ in different ways.
- A CLI that only Jason can use, authenticated using a
GITHUB_TOKEN
environment variable set to a personal access token - A CLI that utilizes GitHub's OAuth Device Flow to either directly bump the counter, or to create an issue instead.
- A GitHub App deployed to a Netlify serverless function, which gets notified by new issues and then bumps the counter.
Watch the video and check out the source code