Github pull reuqest made by claude code cant be autodeployed
davidkocenda-dev
PROOP

25 days ago

Hi folks — seeing an issue where PRs opened by Claude Code on GitHub don’t auto-deploy to our preview branch, even though “Bot PR Environments” is enabled. PRs from humans deploy as expected; it’s only bot-authored PRs that skip preview deployments.

Has anyone run into this with Claude Code (or other bot PRs)? Any known config gotchas or required permissions/labels to allow bot PR previews to deploy?

Solved

7 Replies

colemandunn
PRO

25 days ago

Per the setting:

Attachments


brody
EMPLOYEE

25 days ago

We can absolutely add support for that. Please provide the full message you are receiving in GitHub about the PR not being deployed.


Status changed to Awaiting User Response Railway 25 days ago


colemandunn
PRO

25 days ago

I was going to ask the same thing for github copilot but it turns out the setting was turned on just too late and turns out it already works!

The updated copy would be nice though (both in the settings and the docs)

Thanks!


Status changed to Awaiting Railway Response Railway 25 days ago


brody
EMPLOYEE

25 days ago

Ah glad it has worked out then!

Will update!


Status changed to Awaiting User Response Railway 25 days ago


Status changed to Solved brody 25 days ago


brody

We can absolutely add support for that. Please provide the full message you are receiving in GitHub about the PR not being deployed.

davidkocenda-dev
PROOP

25 days ago

It says This PR was not deployed automatically as @claude[bot] does not have access to the Railway project.

In order to get automatic PR deploys, please add @claude[bot] to your workspace on Railway.

Attachments


Status changed to Awaiting Railway Response Railway 25 days ago


brody
EMPLOYEE

24 days ago

I've added support for the claude bot, please try again in about 15 minutes.


Status changed to Awaiting User Response Railway 24 days ago


brody
EMPLOYEE

24 days ago

I have also updated the docs and the Railway UI to point to the docs, so the docs can be the single source of truth to check which bots are supported.

https://docs.railway.com/guides/environments#bot-pr-environments


Railway
BOT

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


Loading...