Notify engineering teams of new GitHub pull requests in Slack

Developer ToolCollaboration

What it does

When someone creates a pull request in GitHub, this automation posts a message in Slack with the PR details. The channel sees the update right away without checking GitHub.

Who it's for

Engineering teams who want to track pull requests in Slack without leaving the conversation.

Apps used

How teams use this

Notify the team of code reviews

Post each new pull request to a dedicated Slack channel so engineers see what needs review without polling GitHub. The team can discuss and approve from the channel.

Route PRs by repository to channels

Send pull requests from different GitHub repositories to different Slack channels so frontend and backend teams each see only their own PRs. The message format stays the same.

Tag reviewers in the Slack post

Include assigned reviewers in the Slack message and filter to only notify those reviewers so they know immediately when a PR needs their attention. Set the message to mention them by name.

Alert on-call engineers to urgent PRs

Check the PR labels and post to an on-call channel when a pull request is marked urgent so critical changes get fast review. Other PRs go to the standard engineering channel.

How it works

  1. Detect a new pull request. A new pull request is created in a GitHub repository.
  2. Post PR details to Slack. Send a message to a Slack channel with the pull request title, description, author, and link so the team stays informed.