Notifications and linking
GitNotify keeps your chat quiet. Cards change silently, and only review work and incidents notify anyone. Even then, GitNotify only reaches people who have linked themselves, and only the way each person chose.
Who is notified about what
Section titled “Who is notified about what”| Event | Notified |
|---|---|
| Review requested | the reviewer |
| Review approved, or changes requested | the pull request's author |
| Incident opened | its owner, plus an FYI to the merged pull request's author |
| Incident handed over | the new owner |
| Incident resolved | its owner |
| Anything else | nobody: the card is edited silently |
A review requested from a team shows on the card but notifies nobody. Comments, pushes, merges and passing runs never notify anyone. Incidents and owners explains how owners are chosen.
Link yourself
Section titled “Link yourself”GitNotify only knows which reviews and incidents are yours once you link your GitHub account in that server, workspace or group. Run:
| Chat | Command |
|---|---|
| Discord | /link |
| Slack | /gitnotify link |
| Telegram | /link |
GitNotify gives you a one-time GitHub sign-in link. It works once and lasts 10 minutes. In Telegram it arrives by private message, because anyone in the group could open a link posted there. If the bot can't message you yet, it shows a button to open a chat with it. Press Start there, then run /link again.
When you sign in, GitNotify reads only your GitHub user id and login, then revokes the GitHub token straight away. It never sees your repositories or anything else on your account.
Links are per space:
- You link separately in each Discord server, Slack workspace and Telegram group.
- A GitHub account links to one chat user per server, workspace or group. A newer sign-in replaces an older link there.
- Anyone in the chat can link themselves. Nobody can link someone else.
Choose how you are notified
Section titled “Choose how you are notified”Once linked, choose one of three, separately in each server, workspace or group:
| Choice | What happens |
|---|---|
| mention (the default) | a message in the repository's channel or topic that mentions you: activity for reviews, deploys for incidents |
| dm | a direct message from the bot |
| off | nothing. The cards still update |
| Chat | Command |
|---|---|
| Discord | /notify how: mention, dm or off |
| Slack | /gitnotify notify mention, dm or off |
| Telegram | /notify mention, dm or off |
A mention only helps if you can see the channel. Discord channels are readable by the roles chosen at setup. In Slack, invite people to the private channels GitNotify made. In Telegram, everyone in the group can see its topics.
Direct messages
Section titled “Direct messages”- Discord sends a DM once, even if you are linked in several servers that follow the repository. Discord only lets a bot message people who share a server with it and accept direct messages from server members. If yours are closed, the DM is dropped.
- Slack sends a DM once per workspace, because Slack user ids belong to a workspace.
- Telegram sends a private message once across groups. A bot can't message someone first, so you need to have pressed Start in a chat with the bot.
/notify dmis saved only after GitNotify has confirmed it can message you.
What a notification contains
Section titled “What a notification contains”A notification is a short card about the pull request or incident, with links to GitHub. Incident notifications in Discord and Slack carry the ownership buttons. Mentions are built only from the stored chat id of the linked person, so a notification never pings anyone else:
- Discord sends an explicit list of the one user to mention and never allows
@everyone,@hereor roles. - Slack escapes outside text and turns off automatic mention and link parsing.
- Telegram puts an invisible joiner after every
@in GitHub text, so a pull request title can't ping anyone.
Security model has the details.
Stop or remove
Section titled “Stop or remove”- To stop notifications but keep your link, choose off.
- To remove your link, notification records and personal digest in one server, workspace or group, run
/forget-mein Discord,/gitnotify forget-mein Slack or/forget_mein Telegram. GitNotify asks you to confirm first. - To remove your links everywhere, revoke GitNotify in your GitHub settings. See The GitHub App.
Server, workspace and group admins can see who is linked: /gitnotify people in Discord lists each person and how they are notified, and the status command in Slack and Telegram shows how many people are linked.