octokit.net icon indicating copy to clipboard operation
octokit.net copied to clipboard

No option for checking (and activating) Read Only Data Collection

Open raphagibello opened this issue 5 years ago • 1 comments

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 avatar Apr 23 '20 00:04 raphagibello

@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.

shiftkey avatar Apr 23 '20 13:04 shiftkey

👋 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!

github-actions[bot] avatar Jul 26 '23 01:07 github-actions[bot]