integrations: switch to using x-access-token for github git auth

This commit is contained in:
Patrik Oldsberg
2021-02-15 20:26:12 +01:00
parent 536dd3f9ce
commit fb28da2123
7 changed files with 26 additions and 20 deletions
+5 -6
View File
@@ -23,12 +23,11 @@ import fs from 'fs-extra';
import { Logger } from 'winston';
/*
provider username password
GitHub token 'x-oauth-basic'
GitHub App token 'x-access-token'
BitBucket 'x-token-auth' token
GitLab 'oauth2' token
From : https://isomorphic-git.org/docs/en/onAuth
provider username password
GitHub 'x-access-token' token
BitBucket 'x-token-auth' token
GitLab 'oauth2' token
From : https://isomorphic-git.org/docs/en/onAuth with fix for GitHub
Azure 'notempty' token
*/