Differentiate between commit and PR


Is there a way to circleci can trigger certain events/workflows depending upon commit or PR. for example i want to run filtered tests during the commit process but once PR is created i wanted to run all the tests for my project .Is it possible or do i have to create customizations ?