Check issue description
Reviewpad can be used for workflows on both issues and pull requests.
For example, the following configuration adds an error message to an issue or a pull request whose description is empty.
reviewpad.yml
workflows:
- name: report-empty-description
on:
- issue
- pull_request
always-run: true
if:
- $description() == ""
then:
- $error("The description is empty. Please add more information!")