pull_request.branches doesn't trigger on a private repo


I have this action.yaml, I want this action to be triggered when someone in my team create a pull request of merging branches into this sprint branch, but it doesn’t seem to work.

      - develop
      - 'sprint/**'


The repo itself is under a github team plan and it’s private, and teams are commiting directly to it with no forks.

Hi @kirkcola , 

Is the target branch just named “sprint” ? Or “sprint/04” ? 

As you set " sprint/**" , “sprint” could not match this filter. 

There is a worked example for PR merge to sprint branch: 

  1. In Sprint branch , workflow yml file is : 

sprint branch.png

  1. The PR is from develop to sprint branch:


Thanks for your reply!