auto-approver
Advanced tools
Comparing version 1.3.2 to 1.4.0
@@ -22,2 +22,3 @@ interface GitHubPullRequest { | ||
}; | ||
useComment?: string; | ||
verbose?: boolean; | ||
@@ -24,0 +25,0 @@ } |
@@ -0,1 +1,8 @@ | ||
## [1.3.2](https://github.com/ffflorian/auto-approver/compare/v1.3.1...v1.3.2) (2020-09-08) | ||
### Bug Fixes | ||
* Don't show empty PRs, use plural/singular (fixes [#237](https://github.com/ffflorian/auto-approver/issues/237) and [#238](https://github.com/ffflorian/auto-approver/issues/238)) ([375f577](https://github.com/ffflorian/auto-approver/commit/375f5779fce802b3fea52823fb1e076e971dc22f)) | ||
## [1.3.1](https://github.com/ffflorian/auto-approver/compare/v1.3.0...v1.3.1) (2020-09-04) | ||
@@ -2,0 +9,0 @@ |
@@ -35,3 +35,3 @@ #!/usr/bin/env node | ||
.description(description) | ||
.option('-m, --message <text>', 'comment on PRs instead approving them') | ||
.option('-m, --message <text>', 'comment on PRs instead of approving them') | ||
.option('-c, --config <path>', 'specify a configuration file (default: .approverrc.json)') | ||
@@ -47,2 +47,5 @@ .version(version) | ||
const configFileData = configResult.config; | ||
if (configFileData.useComment) { | ||
commander.message = configFileData.useComment; | ||
} | ||
logger.info('Found the following repositories to check:', configFileData.projects.gitHub); | ||
@@ -49,0 +52,0 @@ const action = commander.message ? 'comment on' : 'approve'; |
@@ -28,3 +28,3 @@ { | ||
"eslint-plugin-jasmine": "4.1.1", | ||
"eslint-plugin-jsdoc": "30.3.3", | ||
"eslint-plugin-jsdoc": "30.4.0", | ||
"eslint-plugin-no-unsanitized": "3.1.2", | ||
@@ -108,3 +108,3 @@ "eslint-plugin-prettier": "3.1.4", | ||
}, | ||
"version": "1.3.2" | ||
"version": "1.4.0" | ||
} |
@@ -19,3 +19,3 @@ # auto-approver [![Build Status](https://github.com/ffflorian/auto-approver/workflows/Build/badge.svg)](https://github.com/ffflorian/auto-approver/actions/) [![npm version](https://img.shields.io/npm/v/auto-approver.svg?style=flat)](https://www.npmjs.com/package/auto-approver) | ||
Options: | ||
-m, --message <text> comment on PRs instead approving them | ||
-m, --message <text> comment on PRs instead of approving them | ||
-c, --config <path> specify a configuration file (default: .approverrc.json) | ||
@@ -41,2 +41,3 @@ -V, --version output the version number | ||
}; | ||
useComment?: string; | ||
verbose?: boolean; | ||
@@ -43,0 +44,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63053
295
50