Refactor extraheader auth handling

This commit is contained in:
Peter Evans 2020-07-17 20:54:39 +09:00
parent a6a1a418bf
commit 24012f5c84
9 changed files with 460 additions and 419 deletions

View file

@ -82,10 +82,6 @@ describe('create-or-update-branch tests', () => {
beforeAll(async () => {
git = await GitCommandManager.create(REPO_PATH)
git.setAuthGitOptions([
'-c',
'http.https://github.com/.extraheader=AUTHORIZATION: basic xxx'
])
git.setIdentityGitOptions([
'-c',
'author.name=Author Name',