clomonitor icon indicating copy to clipboard operation
clomonitor copied to clipboard

Add check for 'thelinuxfoundation' user

Open caniszczyk opened this issue 3 years ago • 2 comments

All CNCF projects require 'thelinuxfoundation' as a user in the project, we should find a way to see if we can check for that

caniszczyk avatar Mar 03 '22 15:03 caniszczyk

I think we could make this work with the GitHub API endpoint to get the repository's permission for a given user.

To give this a try we'd need a personal access token from thelinuxfoundation user with scope repo:public_repo.

tegioz avatar Mar 08 '22 13:03 tegioz

@tegioz another idea is we are slowly moving more projects to github enterprise

https://github.com/enterprises/cncf

image

There seems to be an API check for this? https://docs.github.com/en/rest/reference/orgs#get-an-organization https://docs.github.com/en/rest/reference/enterprise-admin

It may be in one of those but not sure :/

caniszczyk avatar Mar 17 '22 14:03 caniszczyk