> For the complete documentation index, see [llms.txt](https://help.sleuth.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sleuth.io/sleuth-dora/sleuth-automations/automations-marketplace/installing-automations/installing-pr-update-automations.md).

# Installing PR "Update" Automations

Some of Sleuth's automations can directly update pull requests by doing things like automatically closing PRs, adding PR labels, commenting on PRs, etc.

<figure><img src="https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2FPiW0Z1A95pVJrkGcXP5l%2Fimage.png?alt=media&amp;token=689f2217-e77d-422b-b2c1-544e7744435b" alt=""><figcaption></figcaption></figure>

These pull request "update" automations are currently available only for GitHub and require the **Sleuth Automations for GitHub** application to be installed in your GitHub organization, as this application grants Sleuth the additional write permissions to perform updates to pull requests. See [Code integrations (write)](/sleuth-dora/integrations-1/code-integrations-write.md) for more information on the specific permission granted by this application.

<figure><img src="https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2FD88kQyFR6rgaY573BzTv%2Fimage.png?alt=media&amp;token=30f53b77-04f8-442a-baba-7dce04225034" alt=""><figcaption></figcaption></figure>

Sleuth will let you know before you try to install one of these automations if the **GitHub Automations for GitHub** application is required.

<figure><img src="https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2FBcRCthdjk230F80NHwDd%2Fimage.png?alt=media&amp;token=977a1b88-3651-4825-99ae-b25415c17193" alt=""><figcaption></figcaption></figure>

Note that [PR Check automations](/sleuth-dora/sleuth-automations/automations-marketplace.md#automation-types) do **not** require the **GitHub Automations for GitHub** application. PR Checks can be installed using any of Sleuth's standard [code "read" integrations](/sleuth-dora/integrations-1/code-deployment.md) for GitHub, GitLab, BitBucket, or Azure DevOps.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sleuth.io/sleuth-dora/sleuth-automations/automations-marketplace/installing-automations/installing-pr-update-automations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
