Skip to content

chaffery/celbot

 
 

Repository files navigation

celbot

CI

A GitHub App built with Probot that A github bot for enforcing Matt's wishes upon the developers at celestia

Setup

Quickstart

# Install dependencies
npm install

# Run the bot
npm start

Local Development

When developing locally you can use 1 of 2 methods to run the bot.

  1. Hot reload with nodemon
  2. Simulate a webhook event

Hot reload with nodemon

# Install dependencies
npm install

# Run the bot with nodemon
npm run dev

Simulate a webhook event

Follow the instructions here to setup a webhook on your local repository. Then you can trigger the webhook event by running the following command. There is a folder test/fixtures/live that is ignored by git that you can use to store your webhook payloads.

# Install dependencies
npm install

# Simulate the webhook event
npm run mock

Docker

# 1. Build container
docker build -t celbot .

# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> celbot

Contributing

If you have suggestions for how celbot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2023 Strange Loop Labs AG

About

A github bot for Celestia devs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Dockerfile 0.5%