Skip to content

Live cards

GitNotify shows GitHub activity as cards. Each pull request gets one card, and each CI or deploy run attempt gets one card. A card is posted once and then edited in place as things change, so a channel holds one message per pull request or run instead of a message per event.

Card edits are silent. Nobody is notified because a card changed. The few things that do notify someone are described in Notifications and linking.

Every connected repository has two destinations, which the setup command builds:

Destination Cards
activity pull request cards
deploys CI and deploy run cards
Integration activity deploys
Discord #activity in the repository's category, or #<repo>-activity in a shared GitNotify category #deploys, or #<repo>-deploys
Slack #gn-<repo>-activity #gn-<repo>-deploys
Telegram the <repo> · activity topic, or the group itself without Topics the <repo> · deploys topic, or the group itself

If several servers, workspaces or groups follow the same repository, each gets its own copy of every card, built from the same state.

One card per pull request, in activity. It is posted when the pull request is opened, drafts included.

The card shows:

  • a status, with a colour:

    Status Meaning
    ⚪ open open, no review requested
    ⚪ draft still a draft
    🟡 waiting for review reviews requested, with the people and teams it waits on
    🔴 changes requested a reviewer asked for changes
    ✅ approved approved, with who approved
    🟣 merged merged, with the base branch and who merged it
    ⚫ closed closed without merging
  • the author, base ← head, lines added and removed, files changed and commits

  • each reviewer's state, and teams asked to review

  • the latest 10 events, with "… N earlier" beyond that

The card changes when the pull request is marked ready or back to draft, a review is requested or removed, commits are pushed, a review is submitted (approved, changes requested, commented) or dismissed, the title changes, or it is closed, reopened or merged. A review with changes requested or a comment shows the first line of what the reviewer wrote.

If a merged pull request breaks CI or a deploy, its card records "🔴 broke …", any handover of the incident, and "✅ fixed …" once it is resolved. See Incidents and owners.

One card per run attempt, in deploys. A re-run is a new attempt and gets its own card.

The card shows:

  • the run's title, number and attempt, who started it, when, and how long it took

  • every job, with its duration and, for a failed job, the step that failed:

    Mark Job
    ✅ succeeded
    ❌ failed, timed out or could not start
    ⏳ running
    ⏸️ queued or waiting
    ⏭️ skipped
    ⏹️ ended another way, such as cancelled
  • buttons: View run, Commit (or Open PR when the run belongs to a merged pull request) and, for a successful deploy whose environment has a site configured, Open site

A CI card is headed "CI on branch". When a run fails, the card also shows the incident: who owns it, whether it is still failing, and later which run fixed it. While the incident is open, the card carries the ownership buttons described in Incidents and owners.

GitNotify recognises workflows by their file name:

Card Workflow file Which runs
CI ci.yml or ci.yaml runs started by a push, every result. CI on pull requests stays out, because the author already sees it on GitHub
Deploy a file name ending in deploy.yml or deploy.yaml every run

A card is posted once a job actually starts, so a run whose jobs are all skipped (such as a deploy started by a pull request's CI that skips every job) never posts. Other workflows are ignored. A workflow with a run-name: reports that as its title.

A deploy started by CI finishing (a workflow_run trigger) is reported by GitHub on the default branch at its latest commit, whatever it deployed. Its card therefore shows the pull request named in its title ("Merge pull request #43 …") instead of a misleading commit.

  • GitNotify always draws a card from the latest state it holds, so a burst of events becomes one edit, and events that arrive out of order never move a card backwards.
  • Each server, workspace and group has its own delivery queue. If a chat platform asks GitNotify to slow down in one of them, the others are not held up.
  • If someone deletes a card's message, GitNotify posts a fresh card at the next change.
  • If the channel or topic itself is deleted, the repository's route is paused and the status command shows "needs repair". See Troubleshooting.
  • GitNotify keeps a card's state for 30 days after its last change. After that it forgets the card, and the message stays in your chat as it was. See Data and retention.
Integration Format
Discord a Components V2 message with a colour accent and link buttons, posted through an app-owned webhook in the channel
Slack Block Kit blocks in one attachment with a colour bar, posted with the workspace's bot token
Telegram one HTML message of at most 4,096 characters with an inline keyboard of link buttons

All text from GitHub is escaped for the platform before it is drawn, so a pull request title cannot mention anyone or inject formatting. See Security model.