Skip to main content

Managing data use settings for your private repository

To help GitHub connect you to relevant tools, people, projects, and information, you can configure data use for your private repository.

About data use for your private repository

You can control data use for your private repository with the security and analysis features.

  • Enable the dependency graph to allow read-only data analysis on your repository.
  • Disable the dependency graph to block read-only data analysis of your repository.

When you enable data use for your private repository, you'll be able to access the dependency graph, where you can track your repository's dependencies and receive Dependabot alerts when GitHub detects vulnerable dependencies. For more information, see "About Dependabot alerts."

Note: If you disable the dependency graph, Dependabot alerts and Dependabot security updates are also disabled. For more information, see "About the dependency graph."

Enabling or disabling data use through security and analysis features

If you enable security and analysis features, GitHub performs read-only analysis on your repository. For more information, see "About GitHub's use of your data."

  1. On GitHub.com, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Security" section of the sidebar, click Code security and analysis.

  4. Under "Code security and analysis", to the right of the feature, click Disable or Enable.

Further reading