mergeable
mergeable copied to clipboard
Is it possible to hide the output of a successful validator?
I thought the following would prevent any output showing up in the PR checks when successful:
- when: pull_request.*
name: 'PR description filled out'
validate:
- do: description
must_exclude:
regex: 'Please explain what the point of this work was.'
fail:
- do: checks
status: 'action_required'
payload:
summary: Please fill out the PR description.
It did not. Is it possible to prevent unnecessary message showing up in the PR checks? If there is nothing for the PR author to do I'd rather not show anything.
Yaml has version: 2
you would need to add
pass:
- do: checks
status: 'success'
name: ''
payload:
title: ''
summary: ''