Skip to content

chore: add a .coderabbit.yaml that keeps CodeRabbit's summary out of the PR description #1340

Description

@nielspardon

CodeRabbit writes a summary into every PR description and keeps it updated on each push. The PR title and description become the squash commit message, so the block is in every squash message unless whoever merges cuts it out. In a breaking PR it can also end up after the BREAKING CHANGE: footer: on #1317 it was appended below the footer and stayed there until the author moved it. CONTRIBUTING.md requires that footer to be last, because semantic-release publishes everything after it as the release note, and .releaserc.mjs's stripTrailers only removes Key: value trailers, so it cannot strip the block.

Release notes have stayed clean so far — none of the 44 breaking entries in CHANGELOG.md contains CodeRabbit text — because the block has been trimmed at merge time. substrait-io/substrait#1222 fixed the same thing in the spec repo with a .coderabbit.yaml that moves the summary into CodeRabbit's walkthrough comment:

# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

reviews:
  high_level_summary_in_walkthrough: true

This repo has no .coderabbit.yaml yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions