Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

blitz-js/github-bot

Repository files navigation

Blitz.js GitHub Bot

Bot to manage Blitz GitHub project board, all-contributors list in README, and other automations!

It runs on Vercel.

Setup

# Install dependencies
yarn
# Run locally
./scripts/run-dev.sh [smee-url]

Environment Variables

  • WEBHOOK_SECRET: a random string of characters. Could be anything
  • PERSONAL_ACCESS_TOKEN: a Personal Access Token of the account that will do all the interaction. More info.
  • LOG_LEVEL (optional): log4js level. More info here (look for level)

Developing locally

When developing locally, you need to get a new Smee URL and set the Webhook URL to that Smee URL. Then, save your env vars in .env, next to .env.example. Finally, execute this to run your app (make sure to have the Vercel CLI installed):

./scripts/run-dev.sh [your-smee-url]

Adding a new event

If you are adding a Organization event, rembember to add it to the organization webhook.

If you are adding a Repository event, rembember to add it to the each repository and in this events array.

Releases

No releases published

Packages

No packages published

Contributors 7

AltStyle によって変換されたページ (->オリジナル) /