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

🐞: Orgnaizaion count seems incorrect #29

Closed
yozachar opened this issue Dec 28, 2020 · 2 comments · Fixed by #31
Closed

🐞: Orgnaizaion count seems incorrect #29

yozachar opened this issue Dec 28, 2020 · 2 comments · Fixed by #31

Comments

@yozachar
Copy link
Contributor

Bug description
I guess the headline speaks :)

Expected behavior
The organizations are correctly counted.

To Reproduce
Just make a successful build.

Additional context and screenshots
Screenshot from 2020-12-28 09-35-48

Shouldn't organization count be 2 here 🤔?

@yozachar yozachar changed the title Orgnaizaion count seems incorrect 🐞: Orgnaizaion count seems incorrect Dec 28, 2020
@lowlighter
Copy link
Owner

Hello again 🙂,

From what I've seen, it's probably because you're only part of private organizations.

When others users are looking at your profile, you're not listed in any organization, which seems to match the GraphQL api response :

What you could try though, is to update the scopes of the personal token you're using with these permissions :
image

I'm guessing that read:org should work from its description, but I'm not 100% sure.
If it works, I'll update documentation, as it's actually a nice catch.

If not, I'll investigate more 👍

@yozachar
Copy link
Contributor Author

Hi 👋🏻,

Thanks, I didn't know about this, nice. So I tested it with one private and another public membership. Updated the token with read:org privileged and yes it works like charm!

I've made a PR #31 which adds some clarification to the documentation, I hope 🙂

@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants