79145641

Date: 2024-10-31 17:00:35
Score: 2
Natty:
Report link

Using Bertrand Martel's answer and FlyingFoX's comment, I used

gh api repos/ORG/REP/collaborators | \
    jq '[ .[] | select(.permissions.admin == true) | .login ]'

which removed the need for a personal access token. This requires that GitHub CLI is installed and that you are authenticated with it.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emrys-Merlin