chore(release): v1.0.12
This commit is contained in:
parent
aa70ac99e3
commit
0be94f1826
14
CHANGELOG.md
14
CHANGELOG.md
@ -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>
|
||||
|
||||
* 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))
|
||||
|
||||
|
||||
@ -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))
|
||||
|
||||
|
||||
|
||||
|
6
index.js
6
index.js
@ -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`);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mawesome",
|
||||
"version": "1.0.11",
|
||||
"version": "1.0.12",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user