Working with Pull Requests

Every time you open a new Pull Request (PR) CodeFactor inspects it and reports results on dedicated PR page and on GitHub/Bitbucket as commit status.

If you're using GitHub, you can now setup detailed reporting inside PR via Checks feature. To begin, visit the Settings page for your repository.

CodeFactor shows issues for any files that were added or modified between the source and target branches. When the target branch changes over time and merge commit is made for PR, CodeFactor tries to exclude any unrelated issues to reduce noise. You may still see unrelated issues for cases when PR is created before repository is imported to CodeFactor.

As a general tip - the best experience is when working with short-lived PRs (i.e. no need for sync with target branch).

Like with branches, you can also ignore any issue patterns of PR issues and create auto-fix commits for certain issues.