diff --git a/lib/platform/github/gh-got-wrapper.js b/lib/platform/github/gh-got-wrapper.js
index 5b798e0ba9a45382f6916719c5bf5a081d40ed50..8f5fdd1420b6b07052b8c9d00fabab4fc2189164 100644
--- a/lib/platform/github/gh-got-wrapper.js
+++ b/lib/platform/github/gh-got-wrapper.js
@@ -26,7 +26,9 @@ async function get(path, options, retries = 5) {
         {},
         {
           accept: appAccept,
-          'user-agent': 'https://github.com/renovatebot/renovate',
+          'user-agent':
+            process.env.RENOVATE_USER_AGENT ||
+            'https://github.com/renovatebot/renovate',
         },
         opts.headers
       );