Skip to content
All posts

How to post PR summaries to Slack, and when not to

Post PR summaries to Slack with a merge-triggered webhook and a four-line template, then learn the volume at which to switch to a morning briefing.

To post PR summaries to Slack, trigger a message when a PR merges, send it to one channel in a fixed four-line format (what changed, why, what to check, link), and post merged PRs only. That works while your team merges a handful of PRs a day. Once agents open more PRs than anyone reads, per-PR posts become a feed people mute, and one scheduled briefing does the job better.

The reason is the one behind most broken team rituals: AI-native teams create context faster than people can sync, manage or remember it. A message per PR is a ritual sized for human-speed change. This post shows how to set it up, what to put in each message, and the point at which to stop.

When does a PR summary in Slack work?

It works when the number of posts is small enough that each one gets read. Say your channel gets three merged-PR posts a day. Someone scans them over coffee, spots the one that touches their area, and replies in the thread. Nothing is lost, and nobody needed a meeting.

It also works when the goal is awareness. The designer sees that the empty state shipped, support sees that the export bug is fixed. The summary is a notice, not a report.

It stops working when the post count passes what a person can scan in a minute. On our own busiest product, 197 PRs merged in the 14 days to October 3, 2026, and agents write most of the code across Liouville's products. One post per PR at that rate is a wall of text by lunchtime, and the posts that matter sit between the ones that don't.

How do you post PR summaries to Slack?

There are three routes. Pick the lightest one that fits.

  1. The GitHub app for Slack. GitHub's own Slack integration can subscribe a channel to a repository and post PR events. Setup takes minutes, and the output is event-shaped: opened, reviewed, merged. It is good for reviewers who want every event, and weak as a summary because it carries the title, not the reason.
  2. A no-code scheduled summary. Tools like Zapier's scheduled summary of new GitHub pull requests in a Slack channel batch new PRs into one message on a schedule. There are also open workflow recipes, such as n8n's daily stale PR review digest, for the narrower job of reminding reviewers about PRs that sit open.
  3. A merge-triggered GitHub Action. You control the wording and the trigger, and it fires only on merged PRs. This is the route for a real summary.

Here is a minimal version of route three. Create an incoming webhook in Slack for the target channel, store its URL as a repository secret named SLACK_WEBHOOK_URL, and add this workflow:

name: pr-merged-to-slack
on:
  pull_request:
    types: [closed]
jobs:
  notify:
    if: github.event.pull_request.merged == true
    runs-on: ubuntu-latest
    steps:
      - name: Post to Slack
        env:
          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
          PR_TITLE: ${{ github.event.pull_request.title }}
          PR_URL: ${{ github.event.pull_request.html_url }}
          PR_AUTHOR: ${{ github.event.pull_request.user.login }}
          PR_BODY: ${{ github.event.pull_request.body }}
        run: |
          jq -n \
            --arg title "$PR_TITLE" \
            --arg author "$PR_AUTHOR" \
            --arg body "$PR_BODY" \
            --arg url "$PR_URL" \
            '{text: ("Merged: " + $title + " by " + $author
              + (if $body == "" then "" else "\n" + $body[0:1500] end)
              + "\n" + $url)}' \
            | curl -sS -X POST -H 'Content-type: application/json' --data @- "$SLACK_WEBHOOK_URL"

Three details make this safe to leave running. The values pass through environment variables instead of being pasted into the shell command, so a PR title with quotes in it cannot break the step. The newlines are written inside the jq program, where they become real line breaks in the Slack message. And an empty PR body is skipped, while a long one is cut at 1,500 characters so one verbose agent description does not fill the channel. Secrets are not passed to workflows triggered by PRs from forks, so this fits repositories where branches live in the same repo.

The post is only as good as the PR description it carries, which is why the next section matters more than the workflow.

What should each summary say?

A summary that only repeats the title adds nothing, since the title is already in the notification. Ask the PR author, human or agent, to fill four lines in the PR description, and post those.

An illustration with sample data:

What changed: webhook handler retries failed deliveries three times.
Why: we agreed in the payments thread to stop dropping events.
Check: reviewers can skip; anyone relying on exactly-once delivery should look.
Link: the PR

The rules for each line:

  • What changed is one sentence in product terms, not file names.
  • Why points at the decision or request that caused the change. If there is none, write "none", and that tells the team something too.
  • Check says who needs to look and what for. "Nobody" is a valid answer.
  • Link goes to the PR, so every claim is one click from its evidence.

Put the template in your PR template file so the description is written when the PR opens, not reconstructed at merge. For agent-written PRs, add the four lines to the agent's instructions. Then the Action above posts the four lines as written, with no model in the middle guessing at intent.

What post count makes a per-PR channel stop working?

Use the number of posts in that one channel as the trigger. Treat the cutoffs below as starting rules and move them to the point where your own channel stops being read.

Merged PRs per day in the channelWhat the channel looks likeWhat to change
Under 5Each post gets a glance or a thread replyKeep one summary per merged PR
5 to 15Posts scroll past; people read the first and lastSwitch the Action to one scheduled digest per day, grouped by product or workstream, and keep discussion in its thread
More than 15, or agents write most of the codeNobody scans the channel; the leader asks "what shipped?" elsewhereStop posting PRs one by one and send one morning briefing that leads with what needs a decision

Three other signs it is time to stop, whatever the count:

  • People react with an emoji and never open the link.
  • Questions in the thread show the summary was wrong or stale, because the description was written before the final diff.
  • The leader still asks "what shipped?" in standup, so the channel is not doing its job.

If your problem is who should receive which kind of GitHub update, that is a separate question, covered in GitHub Slack digest: events, digests and briefings compared.

What takes the place of the feed?

A message per PR answers "what merged?". At high volume the question people actually have is "what changed the plan, and what is waiting on me?" So the replacement for the feed is one message, once a day, with a needs-a-decision section at the top and one linked line per workstream below it.

You can write that by hand with the daily status update template, and too many PRs to review covers what to track when you cannot read every diff. Delete the per-PR Action once the daily message exists, so the team has one place to look.

Where does Biddle fit?

Biddle doesn't post per-PR summaries into your team channels. It reads GitHub, Slack and the tools your team connects, sends the leader a weekday morning briefing as a DM, posts a team note in its own #askbiddle channel, and keeps a live dashboard of where the work stands. It is read-only on GitHub: it doesn't comment on PRs or write code. Biddle is in closed beta and runs every weekday for Liouville Labs' own team. To see what a morning briefing looks like in place of a per-PR feed, open the sample briefing.

Common questions

Should a person or a model write the summary?

The PR author should, whether that is a person or an agent, because the author knows why the change was made. A model summarizing the diff afterward restates what changed but cannot know which decision it came from.

Where should the discussion happen?

In the thread under the summary. Replies there stay attached to the change, and anyone searching Slack later finds the question next to the PR link.

Should the post include the diff?

No. A diff in Slack is unreadable and invites drive-by review outside GitHub. Post the four lines and the link, and keep review in the PR.

Know where the work stands.

Closed beta. We set up each team with you.

Join the waitlist