# EasyCLA Disabled

#### Problem: <a href="#problem" id="problem"></a>

EasyCLA was previously enabled for a GitHub repository, but someone other than the project manager has subsequently disabled it.

#### Solution: <a href="#solution" id="solution"></a>

### Enable Branch Protection <a href="#enable-branch-protection" id="enable-branch-protection"></a>

GitHub is set up to permit administrators and organization owners to have maximum flexibility, which includes disabling installed applications, such as EasyCLA. To avoid this, you must enable branch protection by selecting the Enable Branch Protection check box after the GitHub organization is added to a project.

You can also add the branch protection rule manually, as described below:

1\. As the GitHub organization owner or administrator, go to the GitHub repository that you want EasyCLA to monitor.

2\. Click Settings from the top menu.

![CLA GitHub Repository Settings](https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-65606306010905ad3f123efdf07b05700f6805f2%2Fcla-github-repository-settings.png?alt=media\&token=3182dfd3-87fe-40bc-8b52-050de248483c)

3\. Settings appear with Options in the left pane.

4\. Click Branches under Options.

![](https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-8452b73539c8608f820b6e9927fe29954a36394a%2Fcla-github-options.png?alt=media\&token=a741a18d-ea59-4a99-8db8-842a3476eac9)

5\. Select master for the Default branch. Click Edit or Add rule for Branch protection rules of your organization.

![CLA GitHub branch Add Rule](https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-152c4fcfe359c93363e04efea5a93e3cd34573b9%2Fcla-github-branch-add-rule.png?alt=media\&token=939ac9d4-aba1-4708-ae5e-7ffc80c9eb6e)

6\. Select the following check boxes under **Rule settings**, and click **Create**:

* Require status checks to pass before merging
* Require branches to be up to date before merging
* Include administrators

![CLA GitHub Branch Protection Rule](https://files.gitbook.com/v0/b/gitbook-legacy-files/o/assets%2F-M2DCN9UgoRgMEkgnLyP%2F-M6c_lpbFL3c2MHPwbCU%2F-M6cg5mNvgw-UP7bSFBI%2Fcla-github-branch-protection-rule.png?alt=media\&token=e317954c-42af-4bad-8be5-6db07e256e6e)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linuxfoundation.org/lfx/easycla/v2-current/getting-started/easycla-troubleshooting/easycla-disabled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
