Question about autodeploy
darg9
FREEOP

18 days ago

Auto Deploy is enabled on my service.

Every push from GitHub still enters "Needs approval" state and requires manual deployment.

Workspace has a single admin user.

No deployment protection is configured.

No external contributors exist.

Repository is connected directly to GitHub.

Is this expected behavior on Trial plans or is there another setting controlling deployment approvals?

Solved

1 Replies

Status changed to Awaiting Railway Response Railway 18 days ago


Hi! Good news: this isn't a Trial-plan restriction, and there are no trial-specific limits on auto-deploy. What's happening is about GitHub identity.

When a push comes in for a private repo, Railway auto-deploys it only if the GitHub account that made the push maps to a Railway user with access to that project. If the pushing GitHub identity can't be matched to your Railway account (or it's matched to an account without project access), Railway plays it safe and parks the deploy in "Needs approval" rather than deploying automatically.

The most common cause is that the GitHub account pushing the commits isn't linked to the Railway account that owns the project. To fix it:

  1. Open your Railway account settings and confirm your GitHub account is connected (the same GitHub user that authors/pushes the commits).
  2. If it's connected but pushes still need approval, disconnect and reconnect the GitHub integration, then make a fresh push to test.
  3. Make sure the commits are pushed by the GitHub user linked to your Railway account, not a separate bot/machine or different org identity. Pushes from bot/CI accounts that can't be linked to a Railway user will keep requiring approval by design.

If you've confirmed the link is correct and it still happens on every push, reply here and we can set your workspace to skip approval entirely from our side.


Status changed to Awaiting User Response Railway 17 days ago


Railway
BOT

10 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 10 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...