Skip to content

Commit

Permalink
Merge pull request #118 from mheap/reviewdog-workflow-annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato authored Feb 7, 2024
2 parents 3f7188c + f09fb90 commit 38bf078
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ inputs:
default: "false"

reporter:
description: "Reporter of reviewdog command [github-pr-check,github-pr-review,github-check]."
description: "Reporter of reviewdog command [github-pr-check,github-pr-review,github-pr-annotations,github-check]."
required: false
default: "github-pr-check"
default: "github-pr-annotations"

fail_on_error:
description: |
Expand Down
2 changes: 1 addition & 1 deletion lib/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function get(tok, dir) {
yield exec.exec('gem', ['install', 'asciidoctor', '--user-install']);
logIfDebug('`gem install asciidoctor --user-install` complete');
const localVale = yield (0, install_1.installLint)(core.getInput('version'));
const localReviewDog = yield (0, install_1.installReviewDog)("0.15.0", core.getInput('reviewdog_url'));
const localReviewDog = yield (0, install_1.installReviewDog)("0.17.0", core.getInput('reviewdog_url'));
const valeFlags = core.getInput("vale_flags");
let version = '';
yield exec.exec(localVale, ['-v'], {
Expand Down
2 changes: 1 addition & 1 deletion src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function get(tok: string, dir: string): Promise<Input> {
logIfDebug('`gem install asciidoctor --user-install` complete');

const localVale = await installLint(core.getInput('version'));
const localReviewDog = await installReviewDog("0.15.0", core.getInput('reviewdog_url'));
const localReviewDog = await installReviewDog("0.17.0", core.getInput('reviewdog_url'));
const valeFlags = core.getInput("vale_flags");

let version = '';
Expand Down

0 comments on commit 38bf078

Please sign in to comment.