Skip to content

Control which pull requests EkLine reviews

By default, automatic PR review assesses every pull request opened into your repository’s default branch. Review rules let you narrow that scope per repository — so EkLine skips the pull requests you don’t want reviewed and spends its attention on the ones that matter.

Use review rules to skip draft pull requests, add release branches, or ignore pull requests by title, author, label, or the files they change.

You need:

  • An EkLine account with Docs Agent enabled.
  • The EkLine GitHub App connected — or GitLab connected — to at least one repository.
  • Enable monitoring turned on for the repository you want to configure. Review rules are only reachable for monitored repositories.
  1. Log in to your EkLine dashboard.

  2. Go to Settings > Organization > GitHub Integration (or GitLab Integration).

  3. Find the repository in the list and confirm the Enable monitoring toggle is on.

  4. Click the gear icon next to the repository. Its label reads Configure review rules.

The review rules page opens with the repository name at the top and a back link to the integration page. The default rules review every pull request opened into your default branch.

The review rules page groups its controls into filters. Each filter narrows the set of pull requests EkLine reviews — a pull request is reviewed only when it passes every filter.

The Skip draft PRs toggle is on by default, so EkLine ignores draft pull requests until you mark them ready for review. Turn it off to review drafts as well.

FieldWhat it does
Review PRs into these branchesEkLine reviews pull requests that target any branch listed here. Your default branch is prepopulated. At least one branch is required.
Skip PRs from these branchesEkLine skips pull requests whose source (head) branch matches an entry. Leave it empty to review pull requests from any branch.

Both fields match branch names with regular expressions. Patterns are unanchored unless you add ^ and $, and matching is case-sensitive. The prepopulated default branch is already anchored — for example, ^main$.

To review release branches as well as your default branch, add a pattern such as release/.* to Review PRs into these branches. To skip documentation-only branches, add ^docs/ to Skip PRs from these branches.

FieldWhat it does
Skip PRs whose title matchesSkips pull requests whose title matches a regular expression — for example, ^chore: to skip chore commits.
Skip PRs from these authorsSkips pull requests opened by the usernames listed. Match usernames exactly. Bot accounts include the [bot] suffix — for example, dependabot[bot].
Filter by labelType a label name to require it, so EkLine reviews only pull requests carrying that label. Prefix a label with ! to skip pull requests that carry it — for example, !wip.

Author matching is case-insensitive. Label matching is case-insensitive on GitHub and case-sensitive on GitLab.

The Skip PRs that only touch these files field takes glob patterns. EkLine skips a pull request only when every changed file matches at least one pattern. A pull request that touches any non-matching file is still reviewed.

For example, **/*.md skips pull requests that change only Markdown files, but still reviews a pull request that changes a Markdown file alongside a source file.

  1. Add an entry to any field by typing a value and pressing Enter or a comma. Each entry appears as a chip. To remove the last chip, press Backspace in an empty field.

  2. Click Save changes. EkLine validates your patterns and confirms with a Review rules saved message.

EkLine reads review rules when it assesses a pull request, so your changes apply to the next pull request opened against the repository.

Confirm the rules take effect on a real pull request:

  1. Open a pull request that one of your rules should skip — for example, a draft pull request, or one whose title matches a skip pattern.

  2. Wait about 30 seconds, then check the pull request. EkLine posts no automatic review comment, because the pull request was filtered out.

  3. Open a pull request that your rules should review — for example, one into a reviewed branch with a documentation-impacting change. EkLine assesses it and comments when it detects documentation impact.

IssueSolution
No gear icon next to the repositoryReview rules open only for monitored repositories. Turn on Enable monitoring for the repository, then reopen the row.
Save is blocked with an error on a fieldA pattern is invalid or an entry is uncommitted. Fix the highlighted regular expression, or press Enter to add a pending entry (or clear it), then save again.
Save is blocked asking for a branchReview PRs into these branches requires at least one entry. Add your default branch — for example, ^main$ — before saving.
A pull request I expected to skip was still reviewedRegular expressions are unanchored and case-sensitive. Confirm the pattern matches the exact branch, title, or author. For file filters, remember EkLine skips a pull request only when every changed file matches.
A pull request I expected to review was skippedCheck each filter in turn — a skip pattern for the branch, title, author, or label may be catching it.