We have a monorepo holding multiple microservices. On a pull request, we want to only run unit tests on a service that has been changed within the PR. We accomplish this with a workflow syntax like this:
on: pull_request: paths: - 'serviceA/*'
However, when we mark the branch protection check as required then we can’t merge any pull requests that do not include changes to serviceA. Is there a way we can work around this?