Repo Relay is a GitHub-to-Discord integration bot that turns repository activity into clean, threaded Discord notifications. It posts one rich embed per pull request, attaches a thread to it, and routes every follow-up update (pushes, CI status, reviews, merges) into that thread so a PR’s whole life sits in one place. Beyond PRs it also relays issues, releases, deployments, and security alerts to their own channels, and it persists PR-to-message mappings in SQLite so embeds keep updating across workflow runs. It ships as a composite GitHub Action: drop one step into a workflow, supply a Discord bot token and a channel ID, and the action handles Node setup, dependency install, and execution.

This wiki mirrors the source project. The source of truth is the repo-relay repository and its README.

Key Facts

  • What it is: a standalone GitHub-Discord notification bot, packaged as a composite GitHub Action (blamechris/repo-relay@v1).
  • Stack: Node.js 20+, TypeScript (ES2022), discord.js 14.x, better-sqlite3.
  • State: SQLite database at ~/.repo-relay/{repo-name}/state.db tracks PR-to-message mappings and status.
  • Setup in one line: npx blamechris/repo-relay init runs an interactive wizard that writes the workflow file for you.
  • License: MIT.

What gets relayed

Event familyDestination channelBehaviour
Pull requests + CI + reviewsPR channelOne embed with a thread; all updates threaded
Issues and issue commentsIssues channel (falls back to PR channel)Embeds for opened/closed
ReleasesReleases channel (falls back to PR channel)Embed on publish
DeploymentsDeployments channel (falls back to PR channel)Deployment status updates
Security alertsSecurity channel (falls back to PR channel)Dependabot, secret scanning, code scanning alerts

See the event model for the full list and the GitHub event names that drive each one.