> For the complete documentation index, see [llms.txt](https://docs.meterian.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meterian.io/the-meterian-webapp/the-web-dashboard-1/configuration/automatic-temporary-branches-clean-up.md). Agents can also search and read this documentation through its [MCP server](https://docs.meterian.io/~gitbook/mcp).

# Automatic Temporary Branches Clean-up

<figure><img src="https://3502151236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-naNCUtT6Gw1tfDjRR%2Fuploads%2FPVCZ8mIEvn2TYOfxDjGb%2Fimage.png?alt=media&amp;token=b1fd1637-63f4-4f25-95ec-5524870d6ab5" alt=""><figcaption></figcaption></figure>

Using the dashboard it is possible to configure your account to automatically delete all reports which come from a particular branch after it has not been scanned for a given period of time.

You can enable/ disable this feature using the "Automatic temporary branches cleanup" toggle button.

You can adjust the behaviour of the cleanup procedure using the following variables.

## Protected Branches Regex

If a project branch is being considered for deletion and the branch name matches this regex \
it will not be deleted.

## Temporary Branches Regex

If a project branch is being considered for deletion and the branch name matches this regex it will be deleted if the branch name does not also match the protected branch regex.

## Temporary Branches Lifetime In Days

If the last report of a project branch was made N or more days ago it will be considered for deletion, where N is the temporary branches lifetime in days.&#x20;
