GitHub action isn't triggered from fork

# This is a basic workflow to help you get started with Actions

       name: CI
       on:
         pull_request:
            branches:
         workflow_dispatch:

       # A workflow run is made up of one or more jobs that can run sequentially or in parallel
       jobs:
         # This workflow contains a single job called "build"
         build:
           # The type of runner that the job will run on
           runs-on: macos-latest

           # Steps represent a sequence of tasks that will be executed as part of the job
           steps:
             # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
             - uses: actions/checkout@v2

             - run: |
                 pwd
                 swift package init --type library
                 xcodebuild clean
                 xcodebuild test -workspace TimeFountain.xcworkspace -scheme TimeFountain CODE_SIGN_ENTITLEMENTS= DEVELOPMENT_TEAM= CODE_SIGNING_ALLOWED=NO

I made a patch by following the Github action prompts. I tried merging this file into my shared repo’s develop, and master. It triggered the builds when I made the yml patch pull request, however other pull requests into develop did not trigger the tests… How can I modify the yml to trigger the tests from future pull requests into develop from my fork?

Maybe you need to declare which target branches for these pull requests should run against.