title: How to auto-reject a pull request if tests are failing (Github actions)
body: <p>I am doing <code>npm</code> test when pull requests are raised using Github actions.</p>
  <ul>
  <li>Now if tests fail,</li>
  <li>I would like to add a message,</li>
  <li>Or at least, reject the PR using actions.</li>
  </ul>
  <p>How can I do this?</p>