chore(release): v1.0.12

This commit is contained in:
Conventional Changelog Action
2021-01-16 10:18:35 +00:00
parent aa70ac99e3
commit 0be94f1826
3 changed files with 10 additions and 12 deletions

View File

@@ -21307,11 +21307,9 @@ exports.default = new (class Git {
this.createTag = (tag) => this.exec(`tag -a ${tag} -m "${tag}"`);
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(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`);
}