> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/github.md).

# GitHub Integration

Ingest GitHub pull requests and build and deploy events as change data, and let GitHub alert webhooks create or update incidents automatically. Ingest pull requests and build and deploy data as change

GitHub is a Git-based source control and automation platform for hosting repositories, managing pull requests, and running GitHub Actions workflows.

### How AI SRE supports GitHub <a href="#how-ai-sre-supports-github" id="how-ai-sre-supports-github"></a>

AI SRE supports GitHub through two mechanisms. It ingests pull requests as a change source and receives alert webhooks that create or update incidents.

* **Pull request ingestion:** AI SRE polls GitHub for pull request activity and records merged pull requests as changes for the [Deploy Change Investigator](/ai-sre/ai-sre-for-administrators/set-up-change-management/deploy-change-investigator.md).
* **Build and deploy webhooks:** GitHub Actions workflows POST build and deploy events to AI SRE as change data.
* **Alert webhooks:** GitHub POSTs alerts to an AI SRE webhook URL, which creates or updates incidents.

### Set up GitHub <a href="#set-up-github" id="set-up-github"></a>

Configure GitHub as a change source and alert webhook with the following steps:

* Go to [GitHub change source](/ai-sre/ai-sre-for-administrators/set-up-change-management/sources/github.md) to configure pull request ingestion.
* Go to [GitHub Actions change source](/ai-sre/ai-sre-for-administrators/set-up-change-management/sources/github-actions.md) to send build and deploy webhooks from GitHub Actions workflows.
* Go to [GitHub alert webhook](/ai-sre/ai-sre-for-administrators/set-up-alert-management/webhooks/integration-guides/cicd/github.md) to forward GitHub alerts as incidents.

### Next steps <a href="#next-steps" id="next-steps"></a>

* Go to [GitLab Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/gitlab.md) to send build and deploy webhooks and forward alerts.
* Go to [Bitbucket Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/bitbucket.md) to ingest pull requests from Bitbucket Cloud.
* Go to [Integration Management](/ai-sre/ai-sre-for-administrators/set-up-integration-management/index.md) to review all AI SRE integrations.

{% @harness-feedback/feedback %}
