• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


26 Apr, 2025

Updated at 20 May, 2025

how to allow GitHub_cli different permissions in different organizations

I have owner rights on different GitHub organizations and admin rights on a lot of the repositories in these organizations.

I am now working on a script that can create and delete repos using gh. So I need to authenticate gh with my GitHub account. When I do, I can only authorize for all the organizations I have sufficient rights to, but I cannot differentiate.

How can I allow gh to create and delete repos in one organization but not in the other?