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 security alerts when GitHub detects vulnerable dependencies. For more information, see "About security alerts for vulnerable dependencies."
Note: You can't disable some security and analysis features that are enabled by default for public repositories.
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."
- On GitHub, navigate to the main page of the repository.
- Under your repository name, click
- In the left sidebar, click Security & analysis.
- Under "Configure security and analysis features", to the right of the feature, click Disable or Enable.