Configure pipeline trigger

I have a pipeline, which should run only on following cases

  1. Commit to Master branch
  2. When PR is open to Master branch
  3. When PR is updated, which is already open on Master branch

I try to update pipeline triggers, but not success. Can anyone help me on this


It is explained here Pull Requests and Branches ยท Codefresh | Docs