Skip to main content
Version: Next

Message Report

The Message Report is a GitHub comment which is automatically created when using the built-ins info, warn, and error in your Reviewpad file.

The Message Report provides a convenient method to collate various messages into a single comment and categorize them by priority levels: INFO, WARNING, and ERROR.


Here is an example of a Reviewpad file and the Message Report generated when the pull request gets old.

- name: long-live
# Verify if the pull request was created more than 10 days ago
if: $getCreatedAt() < 10 days ago
then: $reportInfo("This pull request is old. Please consider closing it.")

Reviewpad Info Report