When trying to use the
bitrise.yml in repo with a GitHub Org, you receive errors and the Service Credential User test connection does not work.
The issue is due to the fact that you are using a GitHub organization.
In order for this to work, you need to grant Bitrise access to the Github organization through your account.
Follow the instructions in How to grant Bitrise access to a GitHub Organization.