Skip to content

GitHub & GitLab Issues#

When a PR references an issue, MergeMonkey fetches that issue and feeds its title, body, state, and labels into the review — so findings are evaluated against what the issue actually asks for. Works for both GitHub Issues and GitLab Issues, no credentials to manage — MergeMonkey uses the GitHub App / GitLab OAuth connection you already authorized.

It does not create or modify issues — it reads referenced issues into review context.

Setup#

  1. Open the Integrations settings

    /platform/organization → open the org → Settings → Integrations.

  2. Enable GitHub Issues / GitLab Issues

    Toggle GitHub Issues (or GitLab Issues, depending on your provider) on. Only org owners and admins can change this setting.

That's it — the next PR in any repo in this workspace will pick up referenced issues automatically.

How references are detected#

MergeMonkey scans the PR body, title, commit messages, and branch name. Recognized patterns mirror what GitHub and GitLab themselves auto-link on:

  • Closing keywords + #N — Closes #42, Fixes #7, Resolves: #100. All 16 official keywords work: close / closes / closed / closing, fix / fixes / fixed / fixing, resolve / resolves / resolved / resolving, implement / implements / implemented / implementing.
  • Cross-repo references — Closes other-org/other-repo#10 (GitHub) or Closes group/subgroup/project#10 (GitLab).
  • Branch convention — a leading number like 123-fix-bug or feature/456-add-x.
  • Bare #N mentions — when no closing keyword is present anywhere, a bare #42 in the body, title, or a commit message is treated as a reference (matching GitHub's "any bare mention creates a backlink" behavior).

Up to 5 distinct issues per PR feed into the review. If JIRA is also enabled, both sources are combined.

What MergeMonkey does NOT do#

  • It does not post comments on the referenced issue.
  • It does not create new issues from review findings.
  • It does not change the state of any issue.

This integration is read-only.