diff --git a/lib/config/env.js b/lib/config/env.js
index fed3afce8c858c497edf695500bfaf55de7842ed..be3f281feddadc439ae9e8906f7d2c99f5380613 100644
--- a/lib/config/env.js
+++ b/lib/config/env.js
@@ -39,13 +39,6 @@ function getConfig(env) {
     }
   });
 
-  if (env.GITHUB_COM_TOKEN) {
-    config.endpoints.push({
-      endpoint: 'https://api.github.com/',
-      platform: 'github',
-      token: env.GITHUB_COM_TOKEN,
-    });
-  }
   if (env.GITHUB_TOKEN) {
     config.endpoints.push({
       platform: 'github',
@@ -55,6 +48,14 @@ function getConfig(env) {
     });
   }
 
+  if (env.GITHUB_COM_TOKEN) {
+    config.endpoints.push({
+      endpoint: 'https://api.github.com/',
+      platform: 'github',
+      token: env.GITHUB_COM_TOKEN,
+    });
+  }
+
   if (env.GITLAB_TOKEN) {
     config.endpoints.push({
       platform: 'gitlab',