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

@@ -1,5 +1,12 @@
## <small>1.0.12 (2021-01-16)</small>
* feat: git user now is action ([83db82b](https://github.com/simonecorsi/mawesome/commit/83db82b))
## <small>1.0.11 (2021-01-16)</small> ## <small>1.0.11 (2021-01-16)</small>
* chore(release): v1.0.11 ([b5ae554](https://github.com/simonecorsi/mawesome/commit/b5ae554))
* fix: added required label ([be35c87](https://github.com/simonecorsi/mawesome/commit/be35c87)) * fix: added required label ([be35c87](https://github.com/simonecorsi/mawesome/commit/be35c87))
@@ -25,10 +32,3 @@
## <small>1.0.7 (2021-01-16)</small>
* chore(release): v1.0.7 ([3c133b8](https://github.com/simonecorsi/mawesome/commit/3c133b8))
* feat: better errors ([be667ed](https://github.com/simonecorsi/mawesome/commit/be667ed))

View File

@@ -21307,11 +21307,9 @@ exports.default = new (class Git {
this.createTag = (tag) => this.exec(`tag -a ${tag} -m "${tag}"`); this.createTag = (tag) => this.exec(`tag -a ${tag} -m "${tag}"`);
const githubToken = core.getInput('github-token', { required: true }); const githubToken = core.getInput('github-token', { required: true });
core.setSecret(githubToken); core.setSecret(githubToken);
const gitUserName = core.getInput('git-user-name');
const gitUserEmail = core.getInput('git-user-email');
// Set config // Set config
this.config('user.name', gitUserName); this.config('user.name', 'GitHub Actions');
this.config('user.email', gitUserEmail); this.config('user.email', 'actions@users.noreply.github.com');
// Update the origin // Update the origin
this.updateOrigin(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`); this.updateOrigin(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`);
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "mawesome", "name": "mawesome",
"version": "1.0.11", "version": "1.0.12",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {