Turnstone
Connect a GitHub repository
Connect a GitHub repository to a Turnstone project, and see the access that Turnstone asks for.
On this page
A Turnstone project reads one repository. Follow this page to connect a repository on GitHub to a new project.
Before you connect
Check these conditions first:
- You are an owner or an admin of your Turnstone organisation. A member or a viewer cannot create a project.
- The Turnstone GitHub App is installed on the repository.
- Your GitHub account can read the repository.
Connect the repository
- Open the Turnstone dashboard and sign in.
- Select New project.
- Enter a project name.
- Choose GitHub as the provider.
- Enter the repository as owner and name, for example
acme/checkout. Do not enter the full URL. - Select Connect repository. GitHub asks you to authorise the Turnstone GitHub App.
- Approve the request. GitHub returns you to the dashboard, and you should see the message "Repository connected."
If Turnstone does not connect the repository, check the conditions in Before you connect. Then start again from step 2.
Turnstone syncs the repository when you connect it. Sync describes when Turnstone reads the repository again.
Access
Turnstone uses GitHub access at two points.
When you select Connect repository, GitHub asks you to authorise the App for your account. Turnstone uses that authorisation once. It checks that your GitHub account can read the repository and that the App is installed on it. Turnstone does not store your GitHub token.
After that, Turnstone reads through the App's installation. Turnstone stores the id of the installation. A sync reads the repository's issues, commits, and pull requests.
Turnstone never writes to GitHub. It creates no issue, no comment, no check, and no commit status. The Testkit CLI posts the commit status and the pull request comment from your CI job, with your CI job's token.
To end Turnstone's access, remove the repository from the App's installation in your GitHub settings.