Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for 'thelinuxfoundation' user #125

Open
caniszczyk opened this issue Mar 3, 2022 · 2 comments
Open

Add check for 'thelinuxfoundation' user #125

caniszczyk opened this issue Mar 3, 2022 · 2 comments

Comments

@caniszczyk
Copy link

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

@tegioz
Copy link
Contributor

tegioz commented Mar 8, 2022

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.

@caniszczyk
Copy link
Author

@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 :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants