From 903c070e54d5343f3eaeddaf9c5ab5f2c4f833a9 Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Thu, 21 Jan 2021 21:53:35 +0000 Subject: [PATCH] chore(release): v1.0.31 --- CHANGELOG.md | 14 +++++++------- index.js | 6 ++++-- package.json | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82977ff..bfd41e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## 1.0.31 (2021-01-21) + +* feat: added user/email input for commiting ([58a7dc1](https://github.com/simonecorsi/mawesome/commit/58a7dc1)) + + + ## 1.0.30 (2021-01-16) +* chore(release): v1.0.30 ([a5f15da](https://github.com/simonecorsi/mawesome/commit/a5f15da)) * fix: removed push ([7f42ca0](https://github.com/simonecorsi/mawesome/commit/7f42ca0)) @@ -27,10 +34,3 @@ -## 1.0.26 (2021-01-16) - -* chore: added link to project ([0543c05](https://github.com/simonecorsi/mawesome/commit/0543c05)) -* chore(release): v1.0.26 ([8bc2714](https://github.com/simonecorsi/mawesome/commit/8bc2714)) - - - diff --git a/index.js b/index.js index 2a81db0..5ddaafd 100644 --- a/index.js +++ b/index.js @@ -21308,9 +21308,11 @@ class Git { this.createTag = (tag) => this.exec(`tag -a ${tag} -m "${tag}"`); const githubToken = core.getInput('github-token', { required: true }); core.setSecret(githubToken); + const githubName = core.getInput('github-name') || 'GitHub Actions'; + const githubEmail = core.getInput('github-email') || 'actions@users.noreply.github.com'; // Set config - this.config('user.name', 'GitHub Actions'); - this.config('user.email', 'actions@users.noreply.github.com'); + this.config('user.name', githubName); + this.config('user.email', githubEmail); this.config('pull.rebase', 'false'); // Update the origin this.updateOrigin(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`); diff --git a/package.json b/package.json index 2c03bc2..315e991 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mawesome", - "version": "1.0.30", + "version": "1.0.31", "description": "Generate awesome list from user starred repositories", "main": "index.js", "author": "Simone Corsi",