GitHub integration
Swale reads workflow and task definition files from GitHub through the Swale GitHub App and a connection to your own GitHub user. Each GitHub account or organization the app is installed on, and that your GitHub user can reach, is a connected owner, and the repositories you can import from are the ones its installation covers that your GitHub user can also access.
Connected owners
The Swale GitHub App, which GitHub lists as swale-platform, is installed on GitHub accounts and organizations, each installation covering all of their repositories or a selection. Each one the app is installed on that your GitHub user can reach is listed under Settings → Integrations as a connected owner.
An owner's repositories, as the import dialogs list them, are those its installation covers that your GitHub user can also access. A repository missing from either side is not listed.
A connection is yours alone
One GitHub user is connected to your Swale account at a time, and the connection belongs to you, not to the accounts you work in. In an organization, each member imports through their own connection, so nobody reaches repositories through another member's GitHub access.
Re-importing a workflow goes through the connection of whoever runs it. The owner the workflow came from has to be connected on that person's account, and its installation has to still cover the repository.
How the list stays in step
Adding an account or organization, or connecting again, replaces the list with every owner your GitHub user can reach at that moment, including any you disconnected.
Each time Integrations or a GitHub import dialog opens, the platform checks the connected owners against GitHub. It disconnects any owner whose app installation was removed or that your GitHub user can no longer reach, and every owner when GitHub no longer accepts the connection, for example after you revoke the app's authorization in your GitHub settings. The check never adds an owner: one the app was installed on since you connected appears after you click Connect GitHub.
What disconnecting changes
Disconnecting an owner stops browsing and importing from it. Workflows and task definitions already imported from it stay as they are and keep working; only re-importing from it needs it connected again.