Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
/ rota-alerts Public archive

Sends a Slack Notification to team members before they are due to start an out of hours rotation

License

Notifications You must be signed in to change notification settings

dxw/rota-alerts

Repository files navigation

Rota Alerts

Sends a Slack Notification to team members before they are due to start an out of hours or in-hours support rotation.

Prerequisites

  • Node.js 14.x.x

Setup

Run script/setup. You'll be prompted for values to populate the .env file with (currently just a Slack Token for a bot user).

Running

Run npm start. This queries the On Call Rota for any rotations that are starting in one week's time. If this is the case, it sends a Slack message to both on call users.

Tests

Tests are written with Jest, linting is done using eslint, and format checking is done using Prettier. To run the tests, linter and format checking run script/test.

About

Sends a Slack Notification to team members before they are due to start an out of hours rotation

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published