GitHub connection & repos
Fix an expired or unauthorized GitHub connection, a private repo that won't import, a public repo that should just work, and auto-deploy webhooks that never fire.
Most GitHub problems fall into one of four buckets: Synq can't read your repos, a private repo won't import, a public repo that should need no login keeps asking you to connect, or pushes aren't triggering deployments. This page walks each one from the exact message you'll see to the fix.
Synq can reach GitHub through the managed Synq GitHub App, workspace-owned GitHub Apps, a
personal token, SSH key, or the local gh identity. It also manages the webhooks that power auto-deploy. If you haven't connected yet, start
with Deploy from GitHub; the connection card itself lives in
Settings → Git.
Synq can't read your repositories
What you see
The repo list is empty, or an action fails with "Not connected to GitHub", "No GitHub access token
available. Please connect your GitHub account.", or a 403 with code GITHUB_TOKEN_REQUIRED.
What it means (plain words): Synq has no usable credential for your account. Either you were never
connected, or a token that used to work has expired or been revoked (you signed out of gh, rotated a
personal access token, or removed the App). Synq isn't broken — it just has nothing to authenticate with.
How to fix:
- Go to Settings → Git. For a workspace-owned App, verify its source card and make sure it lists the intended GitHub account. For a local identity, use the GitHub card to reconnect it.
- If it does show a login but repos still won't load, press Disconnect, then Connect GitHub again to mint a fresh token.
- On a self-hosted instance using the CLI fallback, run
gh auth loginin the terminal on the machine running Synq, then reload the page.
The deploy pipeline gives a more specific hint depending on where the build runs. A local build asks you to
"Run gh auth login, connect Synq Cloud, or set a per-project clone token in Settings." (The cloud
option it mentions is switched off in Synq; use gh auth login or a token.) A remote (server) build asks you to "Install the Synq GitHub App on this owner, or set a per-project
clone token in Settings." — a gh CLI token is never shipped off the host, so a remote build needs the
App or a token. On a self-hosted server deploy you have more options: log the server itself into
GitHub, or save a token/SSH key on the server. See Git authentication for private repos
for the full chain and how to enable each.
A private repo won't import
What you see
Your private repo is missing from the picker, or importing it fails with "GitHub App is not installed for
this account", a scope error like "PAT is missing required scope (need one of: repo, public_repo).",
or a 409 "No GitHub App installation token is available for this owner."
What it means: GitHub only exposes a private repo to a credential that has explicit access to it. Synq can see it only if the GitHub App is installed on that owner and includes that repo, or you've given it a personal access token with the right scope. A public-repo-only token, or an App install that skipped the repo, can't see it.
How to fix:
- Install / re-scope the App. In Settings → Git, use Install on account on the intended workspace-owned source (or Install GitHub App for the managed App). When GitHub asks which repositories to grant, choose All repositories or make sure the private repo is selected.
- Or add a personal access token. In the project's Source tab, paste a token into the
Clone Token Override card (or set a global one in Settings → Git → GitHub clone credentials).
The token must include the
reposcope —public_repoalone only reaches public repos. - Reload the picker; the repo should now appear.
You're a team member, not the owner
GitHub access is default-deny for everyone except the organization owner. If you're a member and a private repo is invisible or won't build even though the App is installed, the owner hasn't granted you that repo yet. Ask them to grant it (or connect your own personal access token). See Teams & members.
A public repo keeps asking me to connect
What you see
You point Synq at a public GitHub repo expecting it to deploy with no login, but it still asks you to connect a GitHub account.
What it means: A public github.com repo can be read and deployed with zero credentials — Synq probes it anonymously first. That probe fails closed: if the repo doesn't come back as clearly public, Synq falls back to asking for a credential. The usual reasons are that the repo isn't actually public, the owner/repo is mistyped, or it isn't on github.com.
How to fix:
- Open the repo in a private/incognito browser window (logged out). If you can't see it, it's private — use the private-repo fix above.
- Double-check the owner/repo spelling. Both
https://github.com/owner/repoandgit@github.com:owner/repo.gitforms are understood, but only github.com — GitLab and GitHub Enterprise hosts always need a credential. - If you just made it public, wait a minute and retry. Synq caches the "public" verdict for about ten minutes, and a transient network error during the probe makes it ask for a credential that one time.
Auto-deploy isn't triggering (webhooks not firing)
What you see
You push to GitHub but nothing deploys. On GitHub, Settings → Webhooks → Recent Deliveries shows red
401 responses, or no delivery at all.
What it means: Auto-deploy is a webhook — GitHub sends Synq a message the instant you push. If the message never arrives, is rejected, or arrives for a branch/project that isn't set to auto-deploy, nothing happens. Work through the checks below in order.
How to fix:
- Turn auto-deploy on. Open the project's Source tab. If the Auto Deploy card says Disabled ("Deployments must be started manually"), toggle it on. This is also what registers the webhook on the repo.
- Check the webhook is reachable. If the Source tab shows the "Enable auto-deploy" banner —
"Auto-deploy needs a direct webhook endpoint. Expose this Synq API on a public URL or configure a
verified webhook domain for direct delivery." — then your instance is on
localhostor a private network and GitHub literally can't reach it. Put Synq behind a public URL, or pick a verified custom domain for direct delivery. - Push the branch you actually deploy. Synq only redeploys when the pushed branch matches the project's deploy branch. A push to any other branch is ignored (the logs read "No local auto-deploy projects matched"). Confirm the branch in the Source tab.
- Fix a rejected signature. Red
401deliveries with "Invalid signature", "Missing x-hub-signature-256 header", or "No webhook secret configured — signature cannot be verified" mean the hook's signing secret doesn't match. Toggle Auto Deploy off and on to re-register the webhook — that mints a fresh per-project secret on both sides.
A push that deploys nothing on purpose
For monorepo / multi-service projects, Synq only rebuilds the services whose files changed. A push that touches nothing under a service's root is skipped by design (logged as "no affected services") — that's smart routing, not a failure. See Compose & multi-service.
Duplicate deliveries are fine
If a delivery is retried, Synq drops the repeat ("Duplicate delivery ignored") so you don't get two deployments from one push. Nothing to fix.