Skip to Content
PR CommentsOverview

PR Comments

Dev Herald posts automated, structured comments on GitHub pull requests from your CI pipeline. Instead of digging through workflow logs, reviewers see the signals that matter — right in the PR thread.

How it works

  1. Your CI workflow runs (tests, deploy, dependency scan, etc.)
  2. A step calls the dev-herald/comment GitHub Action
  3. Dev Herald formats the data and posts (or updates) a comment on the PR

All formatting happens in your CI environment. Dev Herald receives only the structured data you explicitly send — never your source code. See Data & Privacy for details.

Three ways to comment

ApproachBest forDocs
SignalsBuilt-in handlers that parse CI output for youUse cases
TemplatesStructured formats with schema validationTemplates
MarkdownFreeform messages with full controlCustom PR Comments

Sticky comments

Use a sticky-id on almost every comment. Dev Herald updates that comment in place on later pushes, and can delete it when a successful run has nothing left to report.

A sticky id is what makes a comment removable. Without one, each run adds another comment, and a stale result stays on the pull request. See Sticky Comments.

Learn about sticky comments →

Several signals can share that one comment. Pass a signals list instead of a single signal.

Combine signals into one comment →

Use cases

Getting started

If you haven’t set up Dev Herald yet, start with the Quick Start guide.

Last updated on