It is clear on how to make conditional steps based on the branch of the project. i.e. your workflow article provided. However, is there a way so only certain steps/jobs happen just for pull requests?
For instance, I’d like to do a full build/test for all PRs. Let’s say that passes, I merge the PR to master, then I’d like to automatically do the same exact steps except this time also do a deploy which requires my secrets/credentials. It would be ideal if I could conditionally set steps within a job to know to execute if it is a PR versus a branch.