Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 912 Bytes

contributing.md

File metadata and controls

30 lines (19 loc) · 912 Bytes

Contributing

To start the developement for the first time, execute pnpm start and follow the steps here. This should generate a .env file containing sensitive information.

Setup

# Install dependencies
pnpm install

# Login to vercel
pnpm vercel:link

# Pull vercel env variables
pnpm vercel:env

# Run the bot
pnpm start

# Deploy the bot
pnpm vercel:deploy OR it is automatically deployed on push to `main` branch

To simulate Github Webhooks on local/dev environment, please look at this.

  1. Visit Bot Settings Page -> Advanced.

  2. To simulate workflow_run.completed, copy the payload and paste it in the file at the path test/fixtures/workflow_run.completed.json.

  3. Now debug the app or press F5.