Skip to content

Commit 6e6a7cf

Browse files
committed
drop unused git config
1 parent 0096739 commit 6e6a7cf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/operations/init-repo.ts

-10
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,5 @@ export const initRepo = async ({
6565
await git.clone(cacheDir, '.');
6666
});
6767

68-
const pushUrl = githubUrl({ slug, accessToken });
69-
await git.remote(['set-url', 'origin', pushUrl]);
70-
await git.remote(['set-url', '--push', 'origin', pushUrl]);
71-
72-
const config = await fs.readFile('./config.yml', 'utf8');
73-
const { tropEmail, tropName } = parse(config);
74-
await git.addConfig('user.email', tropEmail || '[email protected]');
75-
await git.addConfig('user.name', tropName || 'Trop Bot');
76-
77-
await git.addConfig('commit.gpgsign', 'false');
7868
return { dir };
7969
};

0 commit comments

Comments
 (0)