scarabcoder
PROOP
a year ago
Is there a way to determine if the current environment is a pull request environment via environment variables? I have some testing tools that I'd like to enable in PR environments, but for security reasons I don't want them to accidentally turn on for other environments.
3 Replies
a year ago
you could check the value of RAILWAY_ENVIRONMENT_NAME ?
a year ago
yep!