# Repository Settings

## What are the repository settings?

Managers of the organization can update repository settings. As a manager, you can go to repository settings by clicking settings from the bottom left menu and go to detail of the integration that you provided to fetch repositories for example github,

<https://app.iftrue.co/settings> or [https://\[your\_org\_slug\].app.iftrue.co/settings](https://app.iftrue.co/settings)

![](https://2197265994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9wQ8QTbpuYT55h9etnB%2Fuploads%2FrRoXFky2MUFWMdniMfD7%2FScreenshot%202023-08-10%20at%2011.59.15.png?alt=media\&token=8473c5bc-874a-46a5-afea-a3823647f8db)

Than navigate to repository settings page

<figure><img src="https://2197265994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9wQ8QTbpuYT55h9etnB%2Fuploads%2FAH76ULkJkoR0bE8kV2y9%2FScreenshot%202023-08-10%20at%2012.06.38.png?alt=media&#x26;token=ccec3bb2-d6f5-42ec-9926-d20de2e97006" alt=""><figcaption><p>iftrue | repository settings</p></figcaption></figure>

### **Production Branch**

* This tells us which branch you merge when a pull request ready to be deployed. The branch name should be exact match.

For example, most teams use `main` branch as their base branch.

### **Failure Tracking**

Enhance your MTTR and change failure rate tracking with our failure tracking options, crucial for accurate DORA metric assessment. To ensure precise values, we require your input on how failures should be tracked. Choose from two comprehensive options to inform us about your preferred approach for failure tracking:

1. **Pull Request Label**

This choice includes an additional option to select the specific label from your git provider that you utilize to distinguish bug fixes.&#x20;

![](https://2197265994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9wQ8QTbpuYT55h9etnB%2Fuploads%2FmpAOieIlFxlErwO7PQoR%2FScreenshot%202023-08-10%20at%2011.24.56.png?alt=media\&token=85fcd670-ecf3-46f6-90a2-021dbd7b44f2)

2. **Pull Request Prefix**

If you opt for this choice, kindly provide us with the prefix you use. Many teams follow conventional commits in their commit and pull request names, such as:

![](https://2197265994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT9wQ8QTbpuYT55h9etnB%2Fuploads%2FDRQavQ2JQWL7xxjMZWRn%2FScreenshot%202023-08-10%20at%2011.37.41.png?alt=media\&token=9dd2d331-c07d-49f9-aa73-c17a3dfed78e)

### **Deployment Tracking Options**

1. **Merge to production branch**

   By selecting this option, we'll track deployments when code is merged directly into your production branch. This helps us provide accurate insights into your deployment frequency and streamline your development process.
2. **Merge to custom branch**

   Opt for this option if your team follows a specific workflow where code is merged into a custom branch before being deployed to production.
3. **Pull request with prefix**

   If your team employs a naming convention for pull requests that includes a specific prefix, this option is for you. Inform us about the prefix you use in your pull request titles, and we'll tailor our deployment tracking to match.
4. **Pull request with label**

   For teams that classify pull requests using specific labels, this option is ideal. Let us know which label you assign to your pull requests when they're ready for deployment.
5. **Github Action**

   Opt for this option if you utilize GitHub Actions to manage your deployments. By integrating with your existing workflows, we can seamlessly track deployments triggered by GitHub Actions, providing you with accurate metrics and valuable performance insights.
6. **HTTP Request**

   This endpoint allows you to create a deployment for an organization with specified parameters. Please navigate [this page](https://docs.iftrue.co/getting-started/basics/repository-settings/deployment-tracking-with-http-request) for more information.
