---
title: "Restore merge and deployment history for investigations | Proofline Help"
description: "When an investigation has no repository history, its Inbox action tells you whether the environment lacks a delivering repository or lacks a mapping to the GitHub Environment that received its deployments."
url: https://proofline.sh/help/inbox-investigation-no-repository/
---

[Help center](/help/)

# Restore merge and deployment history for investigations

When an investigation has no repository history, its Inbox action tells you whether the environment lacks a delivering repository or lacks a mapping to the GitHub Environment that received its deployments.

## Link the delivering repository and map its GitHub Environment

For **Link a repository**, open **Setup → Repositories**, select **Add** and choose the repository that actually delivers the service. For **Choose a GitHub Environment**, open the linked repository, select the deployment destination under **GitHub Environments** and save.

A later alert investigation that finishes without the same gap clears the task. Check the repaired environment because a similarly named GitHub Environment may belong to a different repository.

## Related guides

-   [Clear Inbox setup tasks](/help/inbox-setup-tasks/)
