2 months ago
Environment:
- Current repo: clear-go-to-market/Clear-Platform
- Previously: b2b-ai-interviewer under a personal GitHub account
What happened:
We renamed our repository and transferred it from a personal GitHub account to a GitHub organization (clear-go-to-market). Since the transfer, pushes to main no longer trigger automatic deployments in Railway. Railway does not appear to be aware of any changes made outside of Railway itself.
Whatwe'vetried:
1. Reconnecting the GitHub App integration in Railway
2. Pushing multiple test commits to verify (empty commits + real changes)
3. Confirmed no watch paths were set (default = deploy on all changes)
4. Added an explicit /** watch path — still no trigger
5. The GitHub App is installed on the clear-go-to-market org
What doesn't work:
- No push to main triggers an automatic deployment
- Changes pushed to GitHub never appear in Railway as available to deploy — only changes made within Railway are recognized
I think the repo transfer may have broken the internal linkage between the Railway service and the GitHub repo, even though the UI shows it as connected.
8 Replies
2 months ago
Repo transfers on GitHub change the underlying repository identifiers, which can break the webhook linkage even though the UI still shows it as connected. To fix this, go to your service's Settings, disconnect the repo entirely, then reconnect it by selecting the new clear-go-to-market/Clear-Platform repo and the correct branch - this will re-establish the webhook so pushes trigger deployments again.
Status changed to Awaiting User Response Railway • about 2 months ago
Status changed to Awaiting Railway Response Railway • about 2 months ago
2 months ago
Making changes (even ones like redeploying the exact same repo name, not a change) have at times allowed Railway to pick up and deploy some things sitting on main, but I still haven't been able to get it to reliably do what it's supposed to do.
2 months ago
- Latest deployed commit:
16fd687923a6fa5e6847a1db5197064b4eefa2d9 - Backed-up commits on main still not being picked up
2 months ago
I moved everything back to the original repo name and back to an individual account and it's working for now. However, I would like to move it to an or so would still appreciate support here.
2 months ago
When you transfer the repo to the organization again, the webhook linkage will break because the underlying GitHub repository ID changes. Right after the transfer, go to each affected service's Settings, disconnect the repo under Source Repo, then reconnect it by selecting the new org repo (e.g. clear-go-to-market/Clear-Platform) and branch. This re-registers the webhook at the service level, which is different from the account-level GitHub integration you previously reconnected. Also confirm under GitHub Settings -> Applications -> Railway App -> Configure that "Repository access" includes repos in the clear-go-to-market org.
Status changed to Awaiting User Response Railway • about 2 months ago
2 months ago
(This is due to the GH API not re-registering, might be something we have to fix on our end.)
angelo-railway
(This is due to the GH API not re-registering, might be something we have to fix on our end.)
2 months ago
Is this something you can assist with then? I really do want to move this to an organization. Repo name change isn't critical.
Status changed to Awaiting Railway Response Railway • about 2 months ago
2 months ago
Hey — yeah we can help with this. The disconnect/reconnect at the service level should work after you transfer to the org. The key thing is doing it in this order: transfer the repo to the org first, then in Railway go to each service's Settings → disconnect the repo → reconnect it by picking the new org repo. That re-registers the webhook at the service level which is what's broken after a transfer. Make sure the Railway GitHub App is installed on the clear-go-to-market org with access to the repo too. If you hit any issues during the process ping us here and we can take a look in real time.
Status changed to Awaiting User Response Railway • about 2 months ago
18 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 18 days ago