Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Map current oncall shift to a Slack usergroup

License

Notifications You must be signed in to change notification settings

controlant-org/oncall-slacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map current oncall shift to a Slack usergroup.

Required Env Vars

  • PAGERDUTY_TOKEN: a read-only token for PagerDuty
  • PAGERDUTY_SCHEDULE_ID: the ID of the schedule to query
  • SLACK_BOT_TOKEN: a bot token from a Slack app, permissions necessary: users:read.email and usergroups:write
  • SLACK_USERGROUP_ID: the id of the usergroup in Slack

About

Map current oncall shift to a Slack usergroup

Resources

License

Stars

Watchers

Forks

Packages