Skip to content

Serverless Lambda that sends a Slack message listing pending reviews

License

Notifications You must be signed in to change notification settings

rubyistdotjs/slackbot-pending-reviews

Repository files navigation

SlackBot Pending Reviews

A Lambda that retrieve pull requests of all the repositories of an organization through the GitHub API and sends a message on Slack reminding the desired developers that they have pending review requests.

Installation

# Clone the repo
git clone https://github.com/rubyistdotjs/slackbot-pending-reviews.git

cd slackbot-pending-reviews

# Install dependencies
npm install

# Setup env files
cp .env.example .env
cp .env.example .env.production

Run locally

# Using .env
serverless invoke local --function notify-pending-reviews

# Using .env.production
serverless invoke local --function notify-pending-reviews --env production

Deploy

NODE_ENV=production serverless deploy --aws-profile AWS_PROFILE --verbose
NODE_ENV=production serverless deploy --aws-profile AWS_PROFILE --function notify-pending-reviews --verbose

About

Serverless Lambda that sends a Slack message listing pending reviews

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published