Connect GitHub Pro
Connect your GitHub account once, with a short code or an access token, for every theme and plugin on the site.
On this page
One GitHub connection covers every theme and plugin on the site. Each project then picks its own repository, branch and folder. Temper commits and pulls through the GitHub API, so the server doesn't need git installed.
Public repositories pull and import without connecting. You need a connection to commit, to pull private repositories, to list your repositories, and to create one.
Connect with a code#
- Go to Temper › Settings and open the GitHub tab.
- Click Connect GitHub. Temper shows a short code.
- Click Copy code and open GitHub. GitHub's device page opens at github.com/login/device.
- Paste the code, then approve Temper.
Temper finishes on its own once you approve; the page says "This page updates once you approve." The code works for the number of minutes shown, about 15. This is GitHub's device flow, so it needs no callback address and works on local sites too.
Temper asks GitHub for these scopes:
| Scope | Why |
|---|---|
repo | Read and commit to your repositories, public and private, and create new ones. |
read:org | List the organizations you belong to. |
workflow | Commit files in .github/workflows. |
Organization repositories#
An organization's repositories appear once the organization allows Temper. Use Manage Temper's access on GitHub in the GitHub tab to grant an organization or revoke access.
Use an access token instead#
Open Use an access token instead in the GitHub tab to limit Temper to chosen repositories, or if you'd rather not authorize the app.
- Classic token: follow Create a classic token. It opens GitHub with the
reposcope ticked and a name filled in. - Fine-grained token: the token's Resource owner must be the account that owns the repository. Give it Contents: Read and write, plus Administration: Read and write if Temper should create repositories.
Paste the token into Access token and click Save and test. You can also connect from a project's Repositories… dialog.
When you're connected#
The GitHub tab shows "Connected as login", with:
- Check: asks GitHub whether it still accepts the connection. Temper also checks when the tab opens, and offers Reconnect if GitHub no longer accepts it, for example after you revoked it.
- Disconnect: removes the connection from this site. GitHub keeps listing Temper as authorized until you revoke it there, under Settings › Applications. A disconnected access token keeps working on GitHub until you delete it there.
Next#
Link a repository to a theme or plugin.