Make sure that the pipeline that you wants to be triggered by the PR is in the main branch of a repository.