index
Description:
Adds a message to the warnings section of the report.
Parameters:
| Parameter | Type | Description |
|---|---|---|
comment | string | The 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.")