Digests and email
A digest is a scheduled summary of what needs attention, sent at the local times you choose. There are two kinds: a team digest for a private channel or group, and a personal digest for one linked person, by direct message or email. A digest is skipped when there is nothing to say.
What a digest holds
Section titled “What a digest holds”| Team digest | Personal digest | |
|---|---|---|
| Broken | every open CI or deploy incident, longest broken first, with its owner, how long it has been broken and how many runs failed | incidents you own |
| Waiting for review | open pull requests waiting on reviewers, with who they wait on and since when | pull requests waiting on your review |
| Changes requested | open pull requests with changes requested | your pull requests with changes requested |
| Fixed | incidents resolved since the last digest | your incidents resolved since the last digest |
Draft pull requests are left out. A personal digest holds only what involves you, things GitHub already shows you. Anyone can link themselves in a chat, so the whole picture goes only to the team digest, in a private place.
A digest covers only the repositories routed to that server, workspace or group whose routes are not paused. "Since the last digest" means since the last one was sent, or the past day for the first.
Times and time zones
Section titled “Times and time zones”Every digest has an IANA time zone, such as UTC, Europe/Berlin or America/New_York, and up to four local times on a 24-hour clock, such as 09:00 and 21:00. With no times given, it uses 09:00. Daylight saving changes are handled for you.
GitNotify checks for due digests every 15 minutes, so a digest arrives within a quarter of an hour of its time. Each time slot is claimed once, so a digest is never sent twice for the same slot.
Team digest
Section titled “Team digest”The team digest goes to a private place, because it covers every connected repository, private ones included. Only a chat admin can turn it on.
| Chat | Command | Where it goes |
|---|---|---|
| Discord | /digest channel timezone: times: [channel:] |
a private channel GitNotify is in, or with no channel, a private #gitnotify-digest that GitNotify makes. A channel everyone can see is refused. Needs Manage Server |
| Slack | /gitnotify digest team <zone> [times] |
GitNotify's own private #gn-digest, made or reused, with the admin invited. There is no channel option |
| Telegram | /digest team <zone> [times] |
where you run the command: the group, or that topic. Needs a group admin |
Examples:
/digest channel timezone: Europe/Berlin times: 09:00, 17:00/gitnotify digest team UTC 09:00 21:00/digest team Europe/Berlin 09:00In Slack, invite your team to #gn-digest from Slack. If the team digest channel is deleted or made public, run the team digest command again.
Personal digest
Section titled “Personal digest”Anyone who has linked themselves can turn on their own digest, by direct message (the default) or email.
| Chat | Command |
|---|---|
| Discord | /digest me timezone: times: [via:], with via: DM or email |
| Slack | /gitnotify digest me <zone> [times] [email|dm] |
| Telegram | /digest me <zone> [times] [email] |
Examples:
/digest me timezone: Europe/Berlin times: 09:00 via: email/gitnotify digest me UTC 09:00 email/digest me Europe/Berlin 08:30In Telegram, the bot can only message you privately once you have pressed Start in a chat with it.
Your personal digest goes with your link: /forget-me (or unlinking any other way) removes it.
Preview and stop
Section titled “Preview and stop”| Chat | Preview now | Stop |
|---|---|---|
| Discord | /digest preview: yours, privately |
/digest off which: my digest, the team digest or email for this server (team and email need Manage Server) |
| Slack | /gitnotify digest preview: yours if you are linked, otherwise the team's (admins), privately |
/gitnotify digest off me|team|email (team and email need an admin) |
| Telegram | /digest preview: yours by private message if you are linked. An admin who isn't linked gets the team digest in the group |
/digest off me|team|email (team and email need an admin) |
A personal digest can go by email. The email uses the Ember design, a dark, amber-accented summary with a count for each section, plus a plain-text part. It holds titles, logins, repository names and run numbers only, never pull request bodies or logs.
Email comes in two forms:
- A relay, for teams on the hosted GitNotify, and available on any GitNotify. A small Worker in your Cloudflare account sends from your domain to the addresses you list. GitNotify signs each request and only says whose digest it is, as a GitHub login. An admin sets it up once per server, workspace or group. See Email relay.
- Built-in email, which the operator of a GitNotify provides for the spaces they run. On a self-hosted server this is SMTP, available to every space (Email on a self-hosted server). When built-in email is available, no relay is needed.
Either way, when you choose email for your personal digest, GitNotify sends a test first. With a relay, the relay has to be set up and tested before anyone can choose email.
| Chat | Set up a relay (admin) | Stop the relay (admin) |
|---|---|---|
| Discord | /digest email, then /digest email url: <address> |
/digest off which: email |
| Slack | /gitnotify digest email, then /gitnotify digest email <address> |
/gitnotify digest off email |
| Telegram | /digest email, then /digest email <address> |
/digest off email |
Turning relay email off moves personal email digests to DM in Discord and Slack. In Telegram it turns them off, because the bot can only message people who have pressed Start.
After three failed sends in a row, or a rejected secret, GitNotify pauses the relay. The status command shows it as paused. Run the set-up command with the relay's address again to test it and resume.