Prerequisite
As a prerequisite for this step you need to have already set the environment variable forDIGGER_ENCRYPTION_SECRET
which is a 32 character string used for encrypting the github values. You can generate one in openssl as follows:
The second important point is that you should not have any GITHUB_XXXX environment variables set (example GITHUB_CLIENT_ID)
since digger will look for env variables first before it searches for connection matches from DB.
how to set up multi org connections:
In your backend you can visit /github/connections and it will show you a screen like below