Skip to main content
Version: v4

index

Description:

Adds a message to the warnings section of the report.

Parameters:

ParameterTypeDescription
commentstringThe comment to be added in the warnings.

Examples:

$reportWarning("Please do not forget to add the tests.")

A reviewpad.yml example:

reviewpad.yml
workflows:
- name: validate-changes
run:
if: $containsFilePattern("*.lock")
then: $reportWarning("Please remove the lock file from the commit.")