A regular analysis is required before analyzing a pull request

I’m running it with GitHub Actions though, should I setup one that I can run manually against our develop branch? Can I setup automatic analysis for our main branch through the UI and run my PRs with our GitHub Action?