octokit.net
octokit.net copied to clipboard
No option for checking (and activating) Read Only Data Collection
Hello,
I'm trying to get some code to check for all repos in my organization for the option "Allow GitHub to perform read-only analysis of this repository" However I could not find in the docs or the go to definitions for that option and failed to find it.
The option is this one: https://help.github.com/en/github/understanding-how-github-uses-and-protects-your-data/opting-into-or-out-of-data-use-for-your-private-repository
Is there any way to do this by using octokit or will I need to use selenium for a bot to activate it.
Thank you,
@raphagibello I don't believe this is currently available through the GitHub API.
Generally these sorts of features are exposed as a preview API first, so until that is available there's not much we can do from the Octokit side.
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!