title: Mark a conditional Github Action as required
body: <p>I have a Github action in my repository that runs only when a specific file has changed. I have marked this action as required in repository settings so that whenever it fails the automatic merge gets blocked. Merge block is working fine but if a PR doesn't include a change to that specific file, Github still blocks the PR waiting for the job to complete which won't even run. Ideally, Github should ignore this action if it is not applicable.</p>
  <p>I have put up a public <a href="https://github.com/sferhan/hello-github-actions" rel="nofollow noreferrer">repository</a> that showcases this behavior. There are two PRs open: one that is working fine and the other one is blocked.</p>
  <p>Any suggested workaround for this?</p>