From aa70ac99e35989a5595e5fc283e4d806bdc2abdc Mon Sep 17 00:00:00 2001 From: Simone Corsi Date: Sat, 16 Jan 2021 11:17:46 +0100 Subject: [PATCH] feat: git user now is action --- src/git.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/git.ts b/src/git.ts index a7cae6b..fdacc57 100644 --- a/src/git.ts +++ b/src/git.ts @@ -12,12 +12,9 @@ export default new (class Git { const githubToken = core.getInput('github-token', { required: true }); core.setSecret(githubToken); - const gitUserName = core.getInput('git-user-name'); - const gitUserEmail = core.getInput('git-user-email'); - // Set config - this.config('user.name', gitUserName); - this.config('user.email', gitUserEmail); + this.config('user.name', 'GitHub Actions'); + this.config('user.email', 'actions@users.noreply.github.com'); // Update the origin this.updateOrigin(