Enable dependency graph on private repo via API?

I’m very interested in developing some automation around the dependency graph API in preview. The first step is enabling this feature on private repos though, is there any way this can be done with the API? We’d like to enable on all repos we have so we start getting the security alerts and can use the preview API, but the only way I’ve seen to do this is manually for each repo:

https://help.github.com/articles/listing-the-packages-that-a-repository-depends-on/#setting-up-the-dependency-graph-for-a-private-repository

Thanks!

3 Likes

Hi @geraldsteere,

Thanks for being part of the GitHub Community Forum! We’re glad you’re here.

For this specific topic, I suggest checking out our Platform Community, they specialize in API questions. There are lots of experts in that forum that may be better suited to help you.

Cheers!