Move from GitHub / Sync
Sync with GitHub
Your repository stays public on GitHub, and outside people open issues and pull requests there. Your team wants to read, review and merge on TanStack Source, and not miss anything that happens on GitHub.
4 min read
GitHub sync keeps the two the same:
- New issues, pull requests and comments on GitHub come here in seconds.
- What people do here on those items goes to GitHub, under each person's own GitHub account.
- A pull request that you open here into a release branch opens on GitHub too, so the checks and reviews that GitHub requires still apply.
A synced repository shows Synced with GitHub in its header and in the list of repositories of its owner. This badge tells readers that its issues and pull requests can also come from GitHub.
Pick your task
| You want to | Read |
|---|---|
| Turn on sync for a repository | Turn on GitHub sync |
| Turn on sync for each repository of an organization | Sync every repository of an organization |
| Know what syncs in each direction | What syncs each way |
| Open an issue here that goes to GitHub | Open an issue that goes to GitHub |
| Comment, review and react on items from GitHub | Work on items from GitHub |
| Open a pull request here that goes to GitHub | Open a pull request that goes to GitHub |
| See and run the checks of GitHub | Checks from GitHub |
| Merge, and close the issues that a pull request fixes | Merge on a synced repository |
| Fix a sync warning, or a paused sync | Fix GitHub sync problems |
Open an issue that goes to GitHub
You open an issue here, and you want people on GitHub to see it too, with the same number.
- Connect GitHub for sync. See Connect GitHub.
- Open a public issue here: on the web, with
src issue create, over REST or over MCP.
The issue opens on GitHub first, with your GitHub token. Then it is written here with the GitHub number. So #42 is the same issue on both sides.
On the web, you must be online to open an issue on a synced repository. The page does not keep a new issue to send later.
When your issue stays here
These issues stay here only, and never go to GitHub:
- Private issues.
- Issues from agents, CI jobs and the bot.
When GitHub cannot take your issue, the cause decides what happens:
| Cause | What happens |
|---|---|
| You did not connect GitHub, GitHub refuses your token, or your GitHub account has no access to the repository on GitHub | The issue is created here only, with a notice that says why. |
| GitHub's rate limit is used up, or GitHub has an error | Nothing is created. Try again in a few minutes. |
| GitHub refuses the title or the body | Nothing is created. You see the reason from GitHub. |
The notice shows in three places:
- Web: a message "Your issue is on TanStack Source only", with the reason.
- REST and MCP: the
noticefield of the answer. It isnullwhen the issue went to GitHub. src issue create: a line on stderr, after the URL of the issue.
An issue that stays here does not go to GitHub later. To get the next issue on GitHub, fix the cause in the notice, for example connect GitHub again.
Issues held for screening
An issue from a person without write access waits for screening first. It gets the next number here.
- When the issue passes screening, or a maintainer approves it, it opens on GitHub with its author's GitHub token. It keeps its number here, and its page shows the GitHub number, for example "(GitHub #57)".
- A rejected issue never goes to GitHub.
- If the author did not connect GitHub, or GitHub cannot take the issue, it stays here only.
How sync stays current
The token of the sync owner creates a webhook on GitHub, and reads GitHub for the changes that a webhook missed. A catch-up runs every 5 minutes, so a missed webhook costs at most a few minutes.
Turn sync off
Turn off Sync with in the settings, or run src github-sync disable. The webhook on GitHub is deleted, and new items stay here only. Everything here stays. When you turn sync on again, it goes on from where it stopped.