> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/ai-assistant-and-experience-studio/experience-interafaces-and-plugins/github-gitlab-prs.md).

# GitHub / GitLab / PRs

Integration with GitHub, GitLab, and pull request workflows enables the OpsMx AI Assistant to participate directly within the software development and code review lifecycle.

The assistant analyzes pull requests, code changes, repository activity, and associated deployment or operational risks to provide actionable intelligence during the development process. Instead of identifying issues later in deployment or production, the integration brings intelligent analysis directly into the point where code decisions are made.

This shift-left approach helps teams identify vulnerabilities, operational risks, compliance violations, and quality concerns early in the development lifecycle.

Integration with GitHub, GitLab, and pull request workflows enables the OpsMx AI Assistant to participate directly within the software development and code review lifecycle.

The assistant analyzes pull requests, code changes, repository activity, and associated deployment or operational risks to provide actionable intelligence during the development process. Instead of identifying issues later in deployment or production, the integration brings intelligent analysis directly into the point where code decisions are made.

This shift-left approach helps teams identify vulnerabilities, operational risks, compliance violations, and quality concerns early in the development lifecycle.

## Why we use it in OpsMx

OpsMx uses GitHub, GitLab, and PR integrations to improve software quality, strengthen security posture, and reduce deployment risks before code reaches production environments. It integrates the AI Assistant directly into GitHub and GitLab workflows to provide intelligent code review and deployment-aware analysis.

### Pull request analysis

The assistant reviews code changes to:

* Detect security vulnerabilities
* Identify risky modifications
* Highlight operational concerns
* Validate policy compliance
* Analyze dependency risks

This enables teams to resolve issues before merging changes.

### Intelligent code summaries

OpsMx generates contextual summaries for pull requests including:

* Change impact analysis
* High-risk areas
* Affected services
* Infrastructure implications
* Deployment considerations

This improves reviewer efficiency and collaboration.

### Deployment-aware recommendations

The assistant links pull request changes with:

* Deployment history
* Runtime incidents
* Security findings
* Infrastructure dependencies
* Operational telemetry

This helps teams understand downstream risks associated with code changes.

### Automated governance validation

The integration enforces:

* Security policies
* Compliance checks
* Approval workflows
* Repository governance rules
* Deployment guardrails

This ensures development workflows align with enterprise governance standards.

## Core capabilities of PR integrations

| Capability              | Description                                           |
| ----------------------- | ----------------------------------------------------- |
| AI-assisted code review | Automated analysis of pull requests and code changes  |
| Security scanning       | Detection of vulnerabilities and risky patterns       |
| Change impact analysis  | Understanding deployment and operational implications |
| Governance enforcement  | Policy and compliance validation                      |
| Contextual summaries    | AI-generated PR summaries and insights                |
| Deployment correlation  | Linking code changes to runtime and deployment risks  |

Organizations using GitHub, GitLab, and PR integrations can achieve:

* Faster code review cycles
* Reduced production defects
* Improved software security
* Earlier issue detection
* Better governance compliance
* Increased developer productivity
* Lower deployment risk

These integrations enable OpsMx to embed intelligent security and operational awareness directly into development workflows.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.opsmx.com/ai-assistant-and-experience-studio/experience-interafaces-and-plugins/github-gitlab-prs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
