Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to hide the output of a successful validator? #693

Open
andrewbihl opened this issue Feb 2, 2023 · 0 comments
Open

Is it possible to hide the output of a successful validator? #693

andrewbihl opened this issue Feb 2, 2023 · 0 comments

Comments

@andrewbihl
Copy link

andrewbihl commented Feb 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant