Set custom GitHub organization locations, like this one:
Since GitHub tries to make you choose from countries now, just use the API to get around it.
curl \
-X PATCH \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token YOUR_TOKEN_HERE" \
https://api.github.com/orgs/ORG_NAME_HERE \
-d '{"location":"ORG_LOCATION_HERE"}'
where:
YOUR_TOKEN_HERE= your personal access token with theorg:adminscope - get it at https://github.com/settings/tokensORG_NAME_HERE= your organization's username, e.g for https://github.com/pigeon-robotics/ thenpigeon-roboticswould be the usernameORG_LOCATION_HERE= any string that you want to set as the organization location
