Auto-deploy breaks when multiple private GitHub repos are linked - must unlink/relink every time

Hey Netlify community,

I’m running into a frustrating issue with auto-deploys and would love some help or insight.

Here’s what’s going on:

  • I have private GitHub repositories, each linked to its own Netlify site.

  • During the setup, I haven’t given Netlify access to all my GitHub projects - just the ones I want.

  • The issue: when auto-deploy works on one site, it causes the other site to fail.
    I then have to manually unlink and relink the broken one from GitHub for it to deploy again. This cycle repeats - fixing one seems to break the other!

  • I confirmed that my deploy settings are correct, and the builds work fine once the link is refreshed - so it’s not a build error or code issue.

Is this a known limitation with Netlify + private repos + selective GitHub access?
Or is there a permanent fix I’m missing so I don’t have to keep relinking every time I push changes?

Would appreciate any guidance!

Thanks in advance!

Me again. I think I may have fixed it.

I went to GitHub > Settings > Applications

This was my setup:

I changed the access to ALL REPOSITORIES & confirmed the change.

Back on Netlify, I triggered a deploy, and it worked! It didn’t fail like previously, and I didn’t have to Unlink-Link.

The issue sounds like a problem with how Netlify manages OAuth permissions for GitHub on per-site basis when repos are private and access is restricted to only selected ones. So, that means when you initially authorize GitHub access, you’re either giving access to all repos or only selected repos. If you chose selected repos, each time you “Link” a new site, you’re basically refreshing that permission scope. This means you are overwriting access every time you relink one project.

Hope I am making sense. I will monitor and come back with any updates.

unique birthday wishes for friends need a personal touch to stay meaningful, auto-deploy should work smoothly without breaking when multiple private GitHub repos are linked. Re-linking every time breaks the flow and the experience.

When multiple private repos are linked, auto-deploy breaking shows how lack of clear alignment can disrupt a system. Surah Yasin pdf reminds us that when things follow a straight and orderly path, outcomes are smoother clarity and proper structure are essential for stability, both in systems and in life.