๐Ÿถ Automated code review tool integrated with any code analysis tools regardless of programming language

Overview

reviewdog - A code review dog who keeps your codebase healthy.


reviewdog provides a way to post review comments to code hosting service, such as GitHub, automatically by integrating with any linter tools with ease. It uses an output of lint tools and posts them as a comment if findings are in diff of patches to review.

reviewdog also supports run in the local environment to filter an output of lint tools by diff.

design doc

Table of Contents

github-pr-check sample comment in pull-request commit status sample-comment.png reviewdog-local-demo.gif

Installation

# Install the latest version. (Install it into ./bin/ by default).
$ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s

# Specify installation directory ($(go env GOPATH)/bin/) and version.
$ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b $(go env GOPATH)/bin [vX.Y.Z]

# In alpine linux (as it does not come with curl by default)
$ wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s [vX.Y.Z]

Nightly releases

You can also use nightly reviewdog release to try the latest reviewdog improvements every day!

$ curl -sfL https://raw.githubusercontent.com/reviewdog/nightly/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

GitHub Action: reviewdog/action-setup

steps:
- uses: reviewdog/[email protected]
  with:
    reviewdog_version: latest # Optional. [latest,nightly,v.X.Y.Z]

homebrew / linuxbrew

You can also install reviewdog using brew:

$ brew install reviewdog/tap/reviewdog
$ brew upgrade reviewdog/tap/reviewdog

Build with go install

$ go install github.com/reviewdog/reviewdog/cmd/[email protected]

Input Format

'errorformat'

reviewdog accepts any compiler or linter result from stdin and parses it with scan-f like 'errorformat', which is the port of Vim's errorformat feature.

For example, if the result format is {file}:{line number}:{column number}: {message}, errorformat should be %f:%l:%c: %m and you can pass it as -efm arguments.

$ golint ./...
comment_iowriter.go:11:6: exported type CommentWriter should have comment or be unexported
$ golint ./... | reviewdog -efm="%f:%l:%c: %m" -diff="git diff FETCH_HEAD"
name description
%f file name
%l line number
%c column number
%m error message
%% the single '%' character
... ...

Please see reviewdog/errorformat and :h errorformat if you want to deal with a more complex output. 'errorformat' can handle more complex output like a multi-line error message.

You can also try errorformat on the Playground!

By this 'errorformat' feature, reviewdog can support any tools output with ease.

Available pre-defined 'errorformat'

But, you don't have to write 'errorformat' in many cases. reviewdog supports pre-defined errorformat for major tools.

You can find available errorformat name by reviewdog -list and you can use it with -f={name}.

$ reviewdog -list
golint          linter for Go source code                                       - https://github.com/golang/lint
govet           Vet examines Go source code and reports suspicious problems     - https://golang.org/cmd/vet/
sbt             the interactive build tool                                      - http://www.scala-sbt.org/
...
$ golint ./... | reviewdog -f=golint -diff="git diff FETCH_HEAD"

You can add supported pre-defined 'errorformat' by contributing to reviewdog/errorformat

Reviewdog Diagnostic Format (RDFormat)

reviewdog supports Reviewdog Diagnostic Format (RDFormat) as a generic diagnostic format and it supports both rdjson and rdjsonl formats.

This rdformat supports rich feature like multiline ranged comments, severity, rule code with URL, and code suggestions.

$ <linter> | <convert-to-rdjson> | reviewdog -f=rdjson -reporter=github-pr-review
# or
$ <linter> | <convert-to-rdjsonl> | reviewdog -f=rdjsonl -reporter=github-pr-review

Example: ESLint with RDFormat

eslint reviewdog rdjson demo

You can use eslint-formatter-rdjson to output rdjson as eslint output format.

$ npm install --save-dev eslint-formatter-rdjson
$ eslint -f rdjson . | reviewdog -f=rdjson -reporter=github-pr-review

Or you can also use reviewdog/action-eslint for GitHub Actions.

Diff

reviewdog with gofmt example

reviewdog supports diff (unified format) as an input format especially useful for code suggestions. reviewdog can integrate with any code suggestions tools or formatters to report suggestions.

-f.diff.strip: option for -f=diff: strip NUM leading components from diff file names (equivalent to 'patch -p') (default is 1 for git diff) (default 1)

$ <any-code-fixer/formatter> # e.g. eslint --fix, gofmt
$ TMPFILE=$(mktemp)
$ git diff >"${TMPFILE}"
$ git stash -u && git stash drop
$ reviewdog -f=diff -f.diff.strip=1 -reporter=github-pr-review < "${TMPFILE}"

Or you can also use reviewdog/action-suggester for GitHub Actions.

If diagnostic tools support diff output format, you can pipe the diff directly.

$ gofmt -s -d . | reviewdog -name="gofmt" -f=diff -f.diff.strip=0 -reporter=github-pr-review
$ shellcheck -f diff $(shfmt -f .) | reviewdog -f=diff

checkstyle format

reviewdog also accepts checkstyle XML format as well. If the linter supports checkstyle format as a report format, you can use -f=checkstyle instead of using 'errorformat'.

# Local
$ eslint -f checkstyle . | reviewdog -f=checkstyle -diff="git diff"

# CI (overwrite tool name which is shown in review comment by -name arg)
$ eslint -f checkstyle . | reviewdog -f=checkstyle -name="eslint" -reporter=github-check

Also, if you want to pass other Json/XML/etc... format to reviewdog, you can write a converter.

$ <linter> | <convert-to-checkstyle> | reviewdog -f=checkstyle -name="<linter>" -reporter=github-pr-check

Code Suggestions

eslint reviewdog suggestion demo reviewdog with gofmt example

reviewdog supports code suggestions feature with rdformat or diff input. You can also use reviewdog/action-suggester for GitHub Actions.

reviewdog can suggest code changes along with diagnostic results if a diagnostic tools supports code suggestions data. You can integrate reviewdog with any code fixing tools and any code formatter with diff input as well.

Code Suggestions Support Table

Note that not all reporters provide support of code suggestion.

-reporter Suggestion support
local NO [1]
github-check NO [2]
github-pr-check NO [2]
github-pr-review OK
gitlab-mr-discussion NO [1]
gitlab-mr-commit NO [2]
gerrit-change-review NO [1]
bitbucket-code-report NO [2]
  • [1] The reporter service support code suggestion feature, but reviewdog does not support it yet. See #678 for the status.
  • [2] The reporter service itself doesn't support code suggestion feature.

reviewdog config file

reviewdog can also be controlled via the .reviewdog.yml configuration file instead of "-f" or "-efm" arguments.

With .reviewdog.yml, you can run the same commands both CI service and local environment including editor integration with ease.

.reviewdog.yml

runner:
  <tool-name>:
    cmd: <command> # (required)
    errorformat: # (optional if you use `format`)
      - <list of errorformat>
    format: <format-name> # (optional if you use `errorformat`. e.g. golint,rdjson,rdjsonl)
    name: <tool-name> # (optional. you can overwrite <tool-name> defined by runner key)
    level: <level> # (optional. same as -level flag. [info,warning,error])

  # examples
  golint:
    cmd: golint ./...
    errorformat:
      - "%f:%l:%c: %m"
    level: warning
  govet:
    cmd: go vet -all .
    format: govet
  your-awesome-linter:
    cmd: awesome-linter run
    format: rdjson
    name: AwesomeLinter
$ reviewdog -diff="git diff FETCH_HEAD"
project/run_test.go:61:28: [golint] error strings should not end with punctuation
project/run.go:57:18: [errcheck]        defer os.Setenv(name, os.Getenv(name))
project/run.go:58:12: [errcheck]        os.Setenv(name, "")
# You can use -runners to run only specified runners.
$ reviewdog -diff="git diff FETCH_HEAD" -runners=golint,govet
project/run_test.go:61:28: [golint] error strings should not end with punctuation
# You can use -conf to specify config file path.
$ reviewdog -conf=./.reviewdog.yml -reporter=github-pr-check

Output format for project config based run is one of the following formats.

  • <file>: [<tool name>] <message>
  • <file>:<lnum>: [<tool name>] <message>
  • <file>:<lnum>:<col>: [<tool name>] <message>

Reporters

reviewdog can report results both in local environment and review services as continuous integration.

Reporter: Local (-reporter=local) [default]

reviewdog can find newly introduced findings by filtering linter results using diff. You can pass diff command as -diff arg.

$ golint ./... | reviewdog -f=golint -diff="git diff FETCH_HEAD"

Reporter: GitHub Checks (-reporter=github-pr-check)

github-pr-check sample annotation with option 1 github-pr-check sample

github-pr-check reporter reports results to GitHub Checks.

You can change report level for this reporter by level field in config file or -level flag. You can control GitHub status check result with this feature. (default: error)

Level GitHub Status
info neutral
warning neutral
error failure

There are two options to use this reporter.

Option 1) Run reviewdog from GitHub Actions w/ secrets.GITHUB_TOKEN

Example: .github/workflows/reviewdog.yml

- name: Run reviewdog
  env:
    REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  run: |
    golint ./... | reviewdog -f=golint -reporter=github-pr-check

See GitHub Actions section too. You can also use public reviewdog GitHub Actions.

Option 2) Install reviewdog GitHub Apps

reviewdog CLI send a request to reviewdog GitHub App server and the server post results as GitHub Checks, because Check API only supported for GitHub App and GitHub Actions.

  1. Install reviewdog Apps. https://github.com/apps/reviewdog
  2. Set REVIEWDOG_TOKEN or run reviewdog CLI in trusted CI providers.
  • Get token from https://reviewdog.app/gh/{owner}/{repo-name}.
$ export REVIEWDOG_TOKEN="<token>"
$ reviewdog -reporter=github-pr-check

Note: Token is not required if you run reviewdog in Travis or AppVeyor.

Caution

As described above, github-pr-check reporter with Option 2 depends on reviewdog GitHub App server. The server is running with haya14busa's pocket money for now and I may break things, so I cannot ensure that the server is running 24h and 365 days.

UPDATE: Started getting support by opencollective and GitHub sponsor. See Supporting reviewdog

You can use github-pr-review reporter or use run reviewdog under GitHub Actions if you don't want to depend on reviewdog server.

Reporter: GitHub Checks (-reporter=github-check)

It's basically same as -reporter=github-pr-check except it works not only for Pull Request but also for commit.

sample comment outside diff

You can create reviewdog badge for this reporter.

Reporter: GitHub PullRequest review comment (-reporter=github-pr-review)

sample-comment.png

github-pr-review reporter reports results to GitHub PullRequest review comments using GitHub Personal API Access Token. GitHub Enterprise is supported too.

$ export REVIEWDOG_GITHUB_API_TOKEN="<token>"
$ reviewdog -reporter=github-pr-review

For GitHub Enterprise, set API endpoint by environment variable.

$ export GITHUB_API="https://example.githubenterprise.com/api/v3/"
$ export REVIEWDOG_INSECURE_SKIP_VERIFY=true # set this as you need to skip verifying SSL

See GitHub Actions section too if you can use GitHub Actions. You can also use public reviewdog GitHub Actions.

Reporter: GitLab MergeRequest discussions (-reporter=gitlab-mr-discussion)

gitlab-mr-discussion sample

Required GitLab version: >= v10.8.0

gitlab-mr-discussion reporter reports results to GitLab MergeRequest discussions using GitLab Personal API Access token. Get the token with api scope from https://gitlab.com/profile/personal_access_tokens.

$ export REVIEWDOG_GITLAB_API_TOKEN="<token>"
$ reviewdog -reporter=gitlab-mr-discussion

The CI_API_V4_URL environment variable, defined automatically by Gitlab CI (v11.7 onwards), will be used to find out the Gitlab API URL.

Alternatively, GITLAB_API can also be defined, in which case it will take precedence over CI_API_V4_URL.

$ export GITLAB_API="https://example.gitlab.com/api/v4"
$ export REVIEWDOG_INSECURE_SKIP_VERIFY=true # set this as you need to skip verifying SSL

Reporter: GitLab MergeRequest commit (-reporter=gitlab-mr-commit)

gitlab-mr-commit is similar to gitlab-mr-discussion reporter but reports results to each commit in GitLab MergeRequest.

gitlab-mr-discussion is recommended, but you can use gitlab-mr-commit reporter if your GitLab version is under v10.8.0.

$ export REVIEWDOG_GITLAB_API_TOKEN="<token>"
$ reviewdog -reporter=gitlab-mr-commit

Reporter: Gerrit Change review (-reporter=gerrit-change-review)

gerrit-change-review reporter reports result to Gerrit Change using Gerrit Rest APIs.

The reporter supports Basic Authentication and Git-cookie based authentication for reporting results.

Set GERRIT_USERNAME and GERRIT_PASSWORD environment variables for basic authentication, and put GIT_GITCOOKIE_PATH for git cookie based authentication.

$ export GERRIT_CHANGE_ID=changeID
$ export GERRIT_REVISION_ID=revisionID
$ export GERRIT_BRANCH=master
$ export GERRIT_ADDRESS=http://<gerrit-host>:<gerrit-port>
$ reviewdog -reporter=gerrit-change-review

Reporter: Bitbucket Code Insights Reports (-reporter=bitbucket-code-report)

bitbucket-code-report bitbucket-code-annotations

bitbucket-code-report generates the annotated Bitbucket Code Insights report.

For now, only the no-filter mode supported, so the whole project is scanned on every run. Reports are stored per commit and can be viewed per commit from Bitbucket Pipelines UI or in Pull Request. In the Pull Request UI affected code lines will be annotated in the diff, as well as you will be able to filter the annotations by This pull request or All.

If running from Bitbucket Pipelines, no additional configuration is needed (even credentials). If running locally or from some other CI system you would need to provide Bitbucket API credentials:

  • For Basic Auth you need to set following env variables: BITBUCKET_USER and BITBUCKET_PASSWORD
  • For AccessToken Auth you need to set BITBUCKET_ACCESS_TOKEN
$ export BITBUCKET_USER="my_user"
$ export BITBUCKET_PASSWORD="my_password"
$ reviewdog -reporter=bitbucket-code-report

To post report to Bitbucket Server use BITBUCKET_SERVER_URL variable:

$ export BITBUCKET_USER="my_user"
$ export BITBUCKET_PASSWORD="my_password"
$ export BITBUCKET_SERVER_URL="https://bitbucket.my-company.com"
$ reviewdog -reporter=bitbucket-code-report

Supported CI services

GitHub Actions

Example: .github/workflows/reviewdog.yml

name: reviewdog
on: [pull_request]
jobs:
  reviewdog:
    name: reviewdog
    runs-on: ubuntu-latest
    steps:
      # ...
      - uses: reviewdog/[email protected]
        with:
          reviewdog_version: latest # Optional. [latest,nightly,v.X.Y.Z]
      - name: Run reviewdog
        env:
          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          reviewdog -reporter=github-pr-check -runners=golint,govet
          # or
          reviewdog -reporter=github-pr-review -runners=golint,govet
Example (github-check reporter):

.github/workflows/reviewdog

Only github-check reporter can run on push event too.

name: reviewdog (github-check)
on:
  push:
    branches:
      - master
  pull_request:

jobs:
  reviewdog:
    name: reviewdog
    runs-on: ubuntu-latest
    steps:
      # ...
      - name: Run reviewdog
        env:
          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          reviewdog -reporter=github-check -runners=golint,govet

Public Reviewdog GitHub Actions

You can use public GitHub Actions to start using reviewdog with ease! ๐ŸŽ‰ โ–ถ๏ธ ๐ŸŽ‰

... and more on GitHub Marketplace.

Missing actions? Check out reviewdog/action-template and create a new reviewdog action!

Please open a Pull Request to add your created reviewdog actions here โœจ . I can also put your repositories under reviewdog org and co-maintain the actions. Example: action-tflint.

Graceful Degradation for Pull Requests from forked repositories

Graceful Degradation example

GITHUB_TOKEN for Pull Requests from forked repository doesn't have write access to Check API nor Review API due to GitHub Actions restriction.

Instead, reviewdog uses Logging commands of GitHub Actions to post results as annotations similar to github-pr-check reporter.

Note that there is a limitation for annotations created by logging commands, such as max # of annotations per run. You can check GitHub Actions log to see full results in such cases.

reviewdog badge reviewdog

As github-check reporter support running on commit, we can create reviewdog GitHub Action badge to check the result against master commit for example. ๐ŸŽ‰

Example:

<!-- Replace <OWNER> and <REPOSITORY>. It assumes workflow name is "reviewdog" -->
[![reviewdog](https://github.com/<OWNER>/<REPOSITORY>/workflows/reviewdog/badge.svg?branch=master&event=push)](https://github.com/<OWNER>/<REPOSITORY>/actions?query=workflow%3Areviewdog+event%3Apush+branch%3Amaster)

Travis CI

Travis CI (-reporter=github-pr-check)

If you use -reporter=github-pr-check in Travis CI, you don't need to set REVIEWDOG_TOKEN.

Example:

install:
  - mkdir -p ~/bin/ && export PATH="~/bin/:$PATH"
  - curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b ~/bin

script:
  - reviewdog -conf=.reviewdog.yml -reporter=github-pr-check

Travis CI (-reporter=github-pr-review)

Store GitHub API token by travis encryption keys.

$ gem install travis
$ travis encrypt REVIEWDOG_GITHUB_API_TOKEN=<token> --add env.global

Example:

env:
  global:
    - secure: <token>

install:
  - mkdir -p ~/bin/ && export PATH="~/bin/:$PATH"
  - curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b ~/bin

script:
  - >-
    golint ./... | reviewdog -f=golint -reporter=github-pr-review

Examples

Circle CI

Store REVIEWDOG_GITHUB_API_TOKEN (or REVIEWDOG_TOKEN for github-pr-check) in Environment variables - CircleCI

.circleci/config.yml sample

version: 2
jobs:
  build:
    docker:
      - image: golang:latest
    steps:
      - checkout
      - run: curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b ./bin
      - run: go vet ./... 2>&1 | ./bin/reviewdog -f=govet -reporter=github-pr-review

      # Deprecated: prefer GitHub Actions to use github-pr-check reporter.
      - run: go vet ./... 2>&1 | ./bin/reviewdog -f=govet -reporter=github-pr-check

GitLab CI

Store REVIEWDOG_GITLAB_API_TOKEN in GitLab CI variable.

.gitlab-ci.yml sample

reviewdog:
  script:
    - reviewdog -reporter=gitlab-mr-discussion
    # Or
    - reviewdog -reporter=gitlab-mr-commit

Bitbucket Pipelines

No additional configuration is needed.

bitbucket-pipelines.yml sample

pipelines:
  default:
    - step:
        name: Reviewdog
        image: golangci/golangci-lint:v1.31-alpine
        script:
          - wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | 
              sh -s -- -b $(go env GOPATH)/bin
          - golangci-lint run --out-format=line-number ./... | reviewdog -f=golangci-lint -reporter=bitbucket-code-report

Common (Jenkins, local, etc...)

You can use reviewdog to post review comments from anywhere with following environment variables.

name description
CI_PULL_REQUEST Pull Request number (e.g. 14)
CI_COMMIT SHA1 for the current build
CI_REPO_OWNER repository owner (e.g. "haya14busa" for https://github.com/haya14busa/reviewdog)
CI_REPO_NAME repository name (e.g. "reviewdog" for https://github.com/haya14busa/reviewdog)
CI_BRANCH [optional] branch of the commit
$ export CI_PULL_REQUEST=14
$ export CI_REPO_OWNER=haya14busa
$ export CI_REPO_NAME=reviewdog
$ export CI_COMMIT=$(git rev-parse HEAD)

and set a token if required.

$ REVIEWDOG_TOKEN="<token>"
$ REVIEWDOG_GITHUB_API_TOKEN="<token>"
$ REVIEWDOG_GITLAB_API_TOKEN="<token>"

If a CI service doesn't provide information such as Pull Request ID - reviewdog can guess it by branch name and commit SHA. Just pass the flag guess:

$ reviewdog -conf=.reviewdog.yml -reporter=github-pr-check -guess

Jenkins with Github pull request builder plugin

$ export CI_PULL_REQUEST=${ghprbPullId}
$ export CI_REPO_OWNER=haya14busa
$ export CI_REPO_NAME=reviewdog
$ export CI_COMMIT=${ghprbActualCommit}
$ export REVIEWDOG_INSECURE_SKIP_VERIFY=true # set this as you need

# To submit via reviewdog server using github-pr-check reporter
$ REVIEWDOG_TOKEN="<token>" reviewdog -reporter=github-pr-check
# Or, to submit directly via API using github-pr-review reporter
$ REVIEWDOG_GITHUB_API_TOKEN="<token>" reviewdog -reporter=github-pr-review
# Or, to submit directly via API using github-pr-check reporter (requires GitHub App Account configured)
$ REVIEWDOG_SKIP_DOGHOUSE=true REVIEWDOG_GITHUB_API_TOKEN="<token>" reviewdog -reporter=github-pr-check

Exit codes

By default reviewdog will return 0 as exit code even if it finds errors. If -fail-on-error flag is passed, reviewdog exits with 1 when at least one error was found/reported. This can be helpful when you are using it as a step in your CI pipeline and want to mark the step failed if any error found by linter.

See also -level flag for github-pr-check/github-check reporters. reviewdog will exit with 1 if reported check status is failure as well if -fail-on-error=true.

Filter mode

reviewdog filter results by diff and you can control how reviewdog filter results by -filter-mode flag. Available filter modes are as below.

added (default)

Filter results by added/modified lines.

diff_context

Filter results by diff context. i.e. changed lines +-N lines (N=3 for example).

file

Filter results by added/modified file. i.e. reviewdog will report results as long as they are in added/modified file even if the results are not in actual diff.

nofilter

Do not filter any results. Useful for posting results as comments as much as possible and check other results in console at the same time.

-fail-on-error also works with any filter-mode and can catch all results from any linters with nofilter mode.

Example:

$ reviewdog -reporter=github-pr-review -filter-mode=nofilter -fail-on-error

Filter Mode Support Table

Note that not all reporters provide full support of filter mode due to API limitation. e.g. github-pr-review reporter uses GitHub Review API but it doesn't support posting comment outside diff (diff_context), so reviewdog will use Check annotation as fallback to post those comments [1].

-reporter \ -filter-mode added diff_context file nofilter
local OK OK OK OK
github-check OK OK OK OK
github-pr-check OK OK OK OK
github-pr-review OK OK Partially Supported [1] Partially Supported [1]
gitlab-mr-discussion OK OK OK Partially Supported [2]
gitlab-mr-commit OK Partially Supported [2] Partially Supported [2] Partially Supported [2]
gerrit-change-review OK OK? [3] OK? [3] Partially Supported? [2][3]
bitbucket-code-report NO [4] NO [4] NO [4] OK
  • [1] Report results which is outside diff context with Check annotation as fallback if it's running in GitHub actions instead of Review API (comments). All results will be reported to console as well.
  • [2] Report results which is outside diff file to console.
  • [3] It should work, but not verified yet.
  • [4] Not implemented at the moment

Debugging

Use the -tee flag to show debug info.

reviewdog -filter-mode=nofilter -tee

Articles

๐Ÿฆ Author

haya14busa GitHub followers

Contributors

Contributors

Supporting reviewdog

Become GitHub Sponsor for each contributor or become a backer or sponsor from opencollective.

Become a backer

Issues
  • [bitbucket-code-report] Integration with Bitbucket Code Insights

    [bitbucket-code-report] Integration with Bitbucket Code Insights

    opened by Trane9991 14
  • implement GitHub service

    implement GitHub service

    opened by haya14busa 13
  • Discussion in gitlab instance looks really strange.

    Discussion in gitlab instance looks really strange.

    image Why I see this "download" buttons?

    help wanted 
    opened by korjavin 13
  • Use Gitlab suggestions in merge request comments

    Use Gitlab suggestions in merge request comments

    I noticed that the issue found by diff parser is triggering a comment in Gitlab on the correct line but without any explanation, So I decided to append comment with suggested changes in markdown diff format.

    • [x] Updated Unreleased section in CHANGELOG or it's not notable changes.
    opened by caseycs 12
  • Get Pull Request ID by branch name or commit hash

    Get Pull Request ID by branch name or commit hash

    Hi there!

    Some CI-services don't provide information such as Pull Request ID. So, I decided to get Pull Request ID by branch name or commit hash.

    opened by mgrachev 11
  • reviewdog: this is not PullRequest build

    reviewdog: this is not PullRequest build

    Details are in this Stack Overflow (https://stackoverflow.com/questions/66309574/reviewdog-this-is-not-pullrequest-build)

    I would like to be able run reviewdog on CircleCI, and when I did git push, it will check the documentation for text errors, and reviewdog will send out a pull-request if there is an error.

    - run: # (d1)
              name: "Execute textlint for README.md"
              command: npx textlint --rule common-misspellings README.md >> .textlint.log
          - run: # (d2)
              name: "Execute reviewdog"
              when: on_fail
              command: |
                cat .textlint.log | ./bin/reviewdog -f=checkstyle -name="textlint" -reporter="github-pr-review"
    

    Before I git push, I set Environment Variables, REVIEWDOG_GITHUB_API_TOKEN and turned on the checkbox, Only build pull requests

    After that, I git push and job, Execute reviewdog said

    #!/bin/bash -eo pipefail
    cat .textlint.log | ./bin/reviewdog -f=checkstyle -name="textlint" -reporter="github-pr-review"
    reviewdog: this is not PullRequest build.
    CircleCI received exit code 0
    

    I would appreciate any help

    opened by Yuhta28 11
  • Check filtered finding when error is on another line than `git diff`

    Check filtered finding when error is on another line than `git diff`

    I'm trying out to create a PHP Linter.

    I have a file like this:

    public function create()
    {
        // i make a mistake below by forgetting the trailing ;  line 33
        blaat()  // <-- line 34
    }
    

    My php linter gives the following error:

    src/AdminBundle/Job/PostAdminMessageToSlackJob.php:35: PHP Parse error: syntax error, unexpected '$job' (T_VARIABLE)
    

    And Reviewdog marks this finding as filtered:

    Findings (0)
    Filtered Findings (1)
    src/AdminBundle/Job/PostAdminMessageToSlackJob.php:35: PHP Parse error: syntax error, unexpected '$job' (T_VARIABLE)
    

    That's because Reviewdog does a strict lookup for the given row number in the git diff. But in PHP the error will sometimes be on the next line.

    Any idea how to solve this?

    Doesn't Github allow for adding checks to lines that didn't change? It always shows ยฑ5 lines before and after right? Maybe we can take that margin into account here?

    opened by ruudk 11
  • Thoughts on generalized action

    Thoughts on generalized action

    A lot of linters (at least in our neck of the woods) are meant to be installed into the project rather than globally. For one thing, it ensures that CI and the local dev environment are using the same versions.

    So a general reviewdog action would be handy, and one wouldn't have to create a new action for each new linter.

    So I'm attempting to create a generalized action that can take the output of any command and pass it to reviewdog: https://github.com/reload/action-reviewdog (still much a work in progress).

    I had to use a composite action in order to be able to run whatever command was configured (in most interpreted languages the linters also require the interpreter). But that messes with the nice depup action unfortunately.

    What's your thought about this?

    opened by xendk 11
  • Check for GITHUB_ACTIONS instead of GITHUB_ACTION

    Check for GITHUB_ACTIONS instead of GITHUB_ACTION

    fixes #708

    • [x] Updated Unreleased section in CHANGELOG or it's not notable changes.
    opened by polamjag 11
  • Doghouse server is broken after Github API changes

    Doghouse server is broken after Github API changes

    I am trying to run golint on a subdirectory in my repo using this command:

    golint -set_exit_status ./pkg/... | reviewdog -f=golint -diff="git diff origin/master" -reporter=github-pr-check

    But it is giving me a 422 Invalid request error - along with the message: "annotation_level", "path" weren't supplied. []

    I can get this to run successfully by changing my command to this:

    cd pkg && golint -set_exit_status ./... | reviewdog -f=golint -diff="git diff origin/master" -reporter=github-pr-check

    But then the links referenced in the errors don't include the pkg folder, so they don't work.

    I there a reviewdog flag I need to include to be able to make one of the above run commands work properly?

    opened by josephbergevin 10
  • fix(deps): update module cloud.google.com/go to v0.98.0

    fix(deps): update module cloud.google.com/go to v0.98.0

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | cloud.google.com/go | require | minor | v0.97.0 -> v0.98.0 |


    Release Notes

    googleapis/google-cloud-go

    v0.98.0

    Compare Source

    Features
    Bug Fixes

    Configuration

    ๐Ÿ“… Schedule: At any time (no schedule defined).

    ๐Ÿšฆ Automerge: Enabled.

    โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    ๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • chore(deps): update golang docker tag to v1.17.4

    chore(deps): update golang docker tag to v1.17.4

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | golang | final | patch | 1.17.3 -> 1.17.4 |


    Configuration

    ๐Ÿ“… Schedule: At any time (no schedule defined).

    ๐Ÿšฆ Automerge: Enabled.

    โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    ๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 0
  • Duplicated annotation from reporter github-pr-review

    Duplicated annotation from reporter github-pr-review

    Hello,

    I've been testing reviewdog integration with a Phoenix(elixir) app here: https://github.com/rafaeliga/phx_actions.

    Instead of only creating comments/reviews, the bot is creating a annotation with same content of one of reviews:

    image

    PR: https://github.com/rafaeliga/phx_actions/pull/19/files Workflow: https://github.com/rafaeliga/phx_actions/blob/fa980bd6b0bc66220309233b1167e2706a903b08/.github/workflows/tests.yml

    opened by rafaeliga 0
  • filter findings behaves differently after push and after merge to master

    filter findings behaves differently after push and after merge to master

    Hi, i've set up review dog to run on my repo, this is my configuration:

    name: reviewdog
    
    on: [pull_request]
    
    jobs:
      eslint:
        name: runner / eslint
        runs-on: ubuntu-latest
        steps:
          - uses: actions/[email protected]
          - uses: actions/[email protected]
            with:
              node-version: '14'
          - run: yarn install
          - uses: reviewdog/[email protected]
            with:
              reporter: github-check
    

    My checks are passing on PR, i have some warning but no errors, and all the warning go to 'filtered findings' section. However, when i merge the PR , all those warning move to 'findings' section and the test fails. Is there any configuration the i'm missing here ?

    opened by yoavamirpayem 0
  • fix(deps): update golang.org/x/build commit hash to 21f5dc2

    fix(deps): update golang.org/x/build commit hash to 21f5dc2

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | golang.org/x/build | require | digest | 07bebbe -> 21f5dc2 |


    Configuration

    ๐Ÿ“… Schedule: At any time (no schedule defined).

    ๐Ÿšฆ Automerge: Disabled due to failing status checks.

    โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    ๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    renovate 
    opened by renovate[bot] 1
  • Bitbucket pipeline: Reviewdog does not fail if the linter errors out

    Bitbucket pipeline: Reviewdog does not fail if the linter errors out

    Hey,

    following the instructions I added a section to my bitbucket pipeline (not quite settled on how I want to authenticate, so focus here is on the linting):

    - step:
            name: Linting with Reviewdog
            image: golangci/golangci-lint:v1.31-alpine
            script:
              - git config --global url."[email protected]:myorg".insteadOf "https://bitbucket.org/myorg"
              - echo "${REPO_SECRET}" | base64 -d > ~/.ssh/id_ed25519 && chmod 0700 ~/.ssh/id_ed25519
              - apk add openssh
              - wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | 
                  sh -s -- -b $(go env GOPATH)/bin
              - golangci-lint run --out-format=line-number --new-from-rev=HEAD~1 ./... | reviewdog -f=golangci-lint -reporter=bitbucket-code-report -fail-on-error
    

    I'm running this manually as well, just using golangci-lint run --out-format=line-number ./. My question/problem is this: If I run this, the linter can/will fail without reviewdog failing (even with "fail-on-error"). ...and reviewdog is not failing because the linter isn't producing the expected output, I assume.

    I get exit code 3 from one of my tests, golangci-lint complains about not being able to build: ERRO Running error: buildir: analysis skipped: errors in package: [...] Reviewdog happily exits with code 0 and the pipeline succeeds.

    Advice on dealing with this? I realize reviewdog hasn't gotten any errors to complain about, but I do expect everything to fail if the linter fails.

    My current solution is to add a step before the linting action to achieve the expected behavior: set -o pipefail Ex:

              - wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | 
                  sh -s -- -b $(go env GOPATH)/bin
              - set -o pipefail
              - golangci-lint run --out-format=line-number --new-from-rev=HEAD~1 ./... | reviewdog -f=golangci-lint -reporter=bitbucket-code-report -fail-on-error
    

    Advice is welcome. I'd be happy to make a PR to update the example if this is an improved setup. Very open to input :) Thanks!

    opened by epleterte 0
  • Failing checks '422 Unprocessable Entity [{Resource: Field: Code: Message:Body is too long (maximum is 65536 characters)}]'

    Failing checks '422 Unprocessable Entity [{Resource: Field: Code: Message:Body is too long (maximum is 65536 characters)}]'

    I am getting failures when people PR code that has too many problems and flake8 hits the maximum character limit. Is there some way I can set a soft stop before it hits the absolute cap and dies? Due to sensitive nature of code cannot share too much debug info.

    reviewdog: POST https://api.github.com/repos/[REDACTED]: 422 Unprocessable Entity [{Resource: Field: Code: Message:Body is too long (maximum is 65536 characters)}] [action-flake8] Clean up reviewdog... Error: Process completed with exit code 1.

    opened by brianpaden289 1
  • What does error status 4 mean?

    What does error status 4 mean?

    I would like to ask you, when I scan the project with reviewdog and golangci-lint in gitlabci, an error appears error status 4. There is no prompt information related to the error. What does error status 4 mean?

    opened by wynla 0
  • Support for running on Github Actions workflow_dispatch and other events

    Support for running on Github Actions workflow_dispatch and other events

    As per https://github.com/reviewdog/action-rubocop/issues/37#issuecomment-941636085, the action cannot run properly unless it is on a pull request. That is because the code specifically looks for information from the PullRequest object:

    https://github.com/reviewdog/reviewdog/blob/8c93ceaf90b675262a5386828501ba2b5a461df0/cienv/github_actions.go#L86

    Could this be extended to support other github actions events such as workflow_dispatch? Github supplies the SHA in github.sha.

    opened by NickLarsenNZ 2
  • some messages unable send to gitlab mr discussion with giltab ci mr discussion reporter

    some messages unable send to gitlab mr discussion with giltab ci mr discussion reporter

    We use pylint to scan our code, and results unable send to gitlab mr discussion. For example, our results are: xxxxx.py:17:Trailing whitespace xxxxx.py:27:Final newline missing xxxxx.py:1:Module name "juan-test" doesn't conform to snake_case naming style xxxxx.py:1:Missing module docstring xxxxx.py:1:Unable to import 'gitlab' xxxxx.py:6:Constant name "url" doesn't conform to UPPER_CASE naming style xxxxx.py:7:Constant name "token" doesn't conform to UPPER_CASE naming style check in gitlab mr ,unable see reviewdog comment in gitlab mr

    opened by bonniechen1119 0
Releases(v0.13.0)
  • v0.13.0(Jul 22, 2021)

    See CHANGELOG

    Changelog

    f100b64 Add support for Bitbucket Server bbe1317 Add support for Bitbucket Server 49afd38 Fix issues reported by golangci-lint d241d0d Merge branch 'master' into bitbucket/detect-pipe 4bd3cb0 Merge pull request #1000 from reviewdog/renovate/codecov-codecov-action-2.x 8edfc7e Merge pull request #1003 from reviewdog/release-v0.13.0 02b7107 Merge pull request #815 from Trane9991/bitbucket/detect-pipe b58ab57 Merge pull request #983 from reviewdog/renovate/github.com-google-go-github-v35-36.x 8c1eab4 Merge pull request #984 from reviewdog/renovate/golang.org-x-oauth2-digest ef98b6a Merge pull request #985 from reviewdog/renovate/google.golang.org-protobuf-1.x 7fff3a3 Merge pull request #986 from reviewdog/renovate/cloud.google.com-go-0.x 8e21bb8 Merge pull request #987 from shogo82148/setup-go-when-goreleaser-check b8e4a9b Merge pull request #988 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 2a65870 Merge pull request #990 from reviewdog/renovate/cloud.google.com-go-0.x 437d2d9 Merge pull request #992 from reviewdog/renovate/github.com-google-go-github-v36-37.x 77bb874 Merge pull request #993 from reviewdog/renovate/golang-1.x 0983d87 Merge pull request #994 from reviewdog/renovate/cloud.google.com-go-0.x d0d14cf Merge pull request #995 from reviewdog/use-go-install 9e436c1 Merge pull request #996 from jordan-simonovski/master 63e56a8 Merge pull request #997 from reva2/feature/bitbucket-server 5f0a197 add to check if runs as bitbucket pipe 75fa091 added support for bitbucket pipes ee4b667 fix import path dbbf92e fix import path of go-github 795703a fix indent 0792bb7 fix typo 5577245 fix(deps): update golang.org/x/oauth2 commit hash to a41e5a7 ab455e0 fix(deps): update module cloud.google.com/go to v0.85.0 4d5428c fix(deps): update module cloud.google.com/go to v0.86.0 c1a048b fix(deps): update module cloud.google.com/go to v0.87.0 a1f2481 fix(deps): update module github.com/google/go-github/v35 to v36 ef5cc6d fix(deps): update module github.com/google/go-github/v36 to v37 6db13fd fix(deps): update module github.com/xanzy/go-gitlab to v0.50.1 8c3870d fix(deps): update module google.golang.org/protobuf to v1.27.1 16c3542 left a typo in another function call b96df8c setup Go when we run goreleaser check 4d68fae update CHANGELOG for v0.13.0 7cf1b3c updated changeset 5b4cb7d use go install instead of go get

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(927 bytes)
    reviewdog_0.13.0_Darwin_arm64.tar.gz(5.33 MB)
    reviewdog_0.13.0_Darwin_x86_64.tar.gz(5.33 MB)
    reviewdog_0.13.0_Linux_arm64.tar.gz(4.66 MB)
    reviewdog_0.13.0_Linux_armv6.tar.gz(4.75 MB)
    reviewdog_0.13.0_Linux_i386.tar.gz(4.82 MB)
    reviewdog_0.13.0_Linux_x86_64.tar.gz(5.10 MB)
    reviewdog_0.13.0_Windows_armv6.tar.gz(4.86 MB)
    reviewdog_0.13.0_Windows_i386.tar.gz(5.00 MB)
    reviewdog_0.13.0_Windows_x86_64.tar.gz(5.15 MB)
  • v0.12.0(Jun 26, 2021)

    See CHANGELOG

    Changelog

    3b69090 Add #976 to unreleased section 5cda50b Add deploy doghouse action c9606d3 Add goreleaser check workflow 4880bb9 Add link to action-pyright df37208 Add new article about reviewdog 86b329a Bump Go 1.16 fa2fc62 Fix doghouse deploy config 515c1fb Fix typo af629bd Fix typo in rdjson format example 6717e23 Merge pull request #803 from reviewdog/fix-appengine-deploy c89c086 Merge pull request #805 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 5ef9671 Merge pull request #806 from reviewdog/renovate/cloud.google.com-go-0.x f4e65e0 Merge pull request #808 from reviewdog/renovate/docker-golang-1.x 460f097 Merge pull request #809 from reviewdog/renovate/golang.org-x-oauth2-digest 5df058f Merge pull request #810 from reviewdog/renovate/cloud.google.com-go-0.x 092c134 Merge pull request #813 from reviewdog/renovate/github.com-google-go-cmp-0.x 67c3403 Merge pull request #814 from reviewdog/renovate/docker-golang-1.x 8aae5ab Merge pull request #816 from reviewdog/renovate/github.com-reviewdog-errorformat-digest cb37dd1 Merge pull request #817 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 065f8c1 Merge pull request #818 from reviewdog/renovate/github.com-google-go-cmp-0.x c3b26e5 Merge pull request #819 from reviewdog/renovate/gopkg.in-yaml.v2-2.x 1cd9c27 Merge pull request #820 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 8561058 Merge pull request #821 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 73cd686 Merge pull request #822 from reviewdog/renovate/golang.org-x-oauth2-digest d6eb2c8 Merge pull request #823 from reviewdog/renovate/docker-golang-1.x 6c32256 Merge pull request #824 from reviewdog/renovate/cloud.google.com-go-0.x 85edbc6 Merge pull request #825 from tsuyoshicho/request/action-mypy-20201205 b417cc7 Merge pull request #826 from reviewdog/renovate/golang.org-x-oauth2-digest 08155b8 Merge pull request #827 from reviewdog/renovate/golang.org-x-sync-digest 12faa31 Merge pull request #828 from reviewdog/renovate/golang.org-x-oauth2-digest 9c0c867 Merge pull request #829 from reviewdog/renovate/github.com-reviewdog-errorformat-digest de569d1 Merge pull request #831 from reviewdog/renovate/cloud.google.com-go-0.x c04ed98 Merge pull request #833 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 4cccd6d Merge pull request #837 from reviewdog/renovate/github.com-reviewdog-errorformat-digest a2aa365 Merge pull request #838 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x f09fa55 Merge pull request #840 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 207b245 Merge pull request #843 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 1984dcd Merge pull request #844 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x f577bd4 Merge pull request #847 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 798699c Merge pull request #849 from reviewdog/trigger-depup-pagesize b5fa6bb Merge pull request #850 from reviewdog/fetch-head 85e8973 Merge pull request #851 from reviewdog/renovate/cloud.google.com-go-0.x 3cbc60e Merge pull request #852 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x e2bf444 Merge pull request #853 from reviewdog/renovate/golang.org-x-oauth2-digest aa48091 Merge pull request #854 from reviewdog/renovate/golang.org-x-oauth2-digest bd09ec7 Merge pull request #855 from reviewdog/renovate/golang.org-x-oauth2-digest e0bd612 Merge pull request #857 from reviewdog/renovate/github.com-mattn-go-shellwords-1.x 527c0fd Merge pull request #859 from reviewdog/renovate/docker-golang-1.x b3937f9 Merge pull request #861 from reviewdog/conf-format 91733d4 Merge pull request #862 from reviewdog/renovate/golang.org-x-oauth2-digest 8b19c70 Merge pull request #863 from reviewdog/renovate/golang.org-x-oauth2-digest 77cb157 Merge pull request #864 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x 7db8885 Merge pull request #865 from reviewdog/renovate/go.opencensus.io-0.x f605d67 Merge pull request #866 from reviewdog/renovate/golang.org-x-oauth2-digest 792c518 Merge pull request #867 from reviewdog/renovate/cloud.google.com-go-0.x 2245db0 Merge pull request #868 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 3529486 Merge pull request #869 from reviewdog/new-article 8df3ffe Merge pull request #870 from reviewdog/renovate/docker-golang-1.x 55a31a9 Merge pull request #871 from reviewdog/renovate/reviewdog-errorformat-digest 17d1302 Merge pull request #875 from reviewdog/renovate/golang.org-x-oauth2-digest cfcb38b Merge pull request #876 from reviewdog/renovate/docker-ghcr.io-gcpug-appengine-go-1.x 26b9f00 Merge pull request #877 from reviewdog/renovate/xanzy-go-gitlab-0.x a5aa5c1 Merge pull request #878 from reviewdog/deploy-doghouse-github-actions 6cf0f95 Merge pull request #880 from reviewdog/renovate/cloud.google.com-go-0.x f6cee75 Merge pull request #881 from reviewdog/renovate/golang.org-x-oauth2-digest 41ddb46 Merge pull request #882 from reviewdog/renovate/docker-golang-1.x 6b40cd6 Merge pull request #885 from reviewdog/renovate/docker-circleci-golang-1.x 87d6137 Merge pull request #886 from reviewdog/renovate/golang.org-x-oauth2-digest beab207 Merge pull request #887 from reviewdog/renovate/golang.org-x-sync-digest 0772915 Merge pull request #888 from jmatsu/feature/support_pr_target c259af9 Merge pull request #890 from reviewdog/renovate/cloud.google.com-go-0.x 38862a0 Merge pull request #891 from reviewdog/renovate/github.com-reviewdog-errorformat-digest c451460 Merge pull request #892 from reviewdog/renovate/go.opencensus.io-0.x 369c7c2 Merge pull request #893 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 54b2e51 Merge pull request #894 from reviewdog/renovate/google-github-actions-setup-gcloud-0.x 1eb66b3 Merge pull request #895 from reviewdog/renovate/github.com-google-go-cmp-0.x 16acb7e Merge pull request #896 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x ec70466 Merge pull request #900 from shogo82148/bump-go-github-v33 e9bffcb Merge pull request #902 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x e3bae75 Merge pull request #903 from reviewdog/renovate/docker-golang-1.x 844569e Merge pull request #904 from reviewdog/renovate/cloud.google.com-go-0.x 8d1a8cb Merge pull request #905 from reviewdog/renovate/golang.org-x-oauth2-digest 9e723b0 Merge pull request #906 from reviewdog/renovate/docker-golang-1.x 02ac041 Merge pull request #912 from reviewdog/renovate/github.com-golang-protobuf-1.x cf3e3e4 Merge pull request #913 from reviewdog/renovate/google.golang.org-protobuf-1.x 83615d9 Merge pull request #914 from reviewdog/renovate/cloud.google.com-go-0.x 8d5b51d Merge pull request #917 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 4ed4f67 Merge pull request #919 from shogo82148/fix-warning-of-codeql-analysis 3acb087 Merge pull request #921 from reviewdog/renovate/docker-golang-1.x 58d327c Merge pull request #925 from shogo82148/bump-go-github-v35 9eeba46 Merge pull request #927 from reviewdog/renovate/github.com-google-go-github-v35-35.x 475842e Merge pull request #929 from reviewdog/renovate/textlint-11.x da004fa Merge pull request #930 from reviewdog/renovate/textlint-rule-no-dead-link-4.x 4ba83b8 Merge pull request #934 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 138c59e Merge pull request #935 from reviewdog/renovate/docker-golang-1.x 0d9a530 Merge pull request #937 from shogo82148/bump-go-github-v35.2.0 dc08aa3 Merge pull request #941 from reviewdog/travis-com ce515e1 Merge pull request #942 from reviewdog/renovate/github.com-reviewdog-errorformat-digest fa08a93 Merge pull request #944 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x ce41cea Merge pull request #945 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 7693cad Merge pull request #946 from reviewdog/haya14busa-patch-1 53e2935 Merge pull request #947 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 4eec274 Merge pull request #948 from reviewdog/renovate/golang.org-x-oauth2-digest f692489 Merge pull request #953 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 18dc163 Merge pull request #954 from reviewdog/renovate/cloud.google.com-go-0.x e7a8736 Merge pull request #956 from reviewdog/renovate/textlint-12.x aab565b Merge pull request #957 from reviewdog/renovate/github.com-google-go-cmp-0.x 4fdd5eb Merge pull request #961 from reviewdog/renovate/cloud.google.com-go-0.x dcb6ee3 Merge pull request #962 from reviewdog/renovate/golang-1.x a64a40d Merge pull request #963 from jordemort/patch-1 3f0866b Merge pull request #964 from reviewdog/renovate/github.com-mattn-go-shellwords-1.x 01d9479 Merge pull request #965 from reviewdog/renovate/textlint-rule-write-good-2.x 5f61a27 Merge pull request #966 from reviewdog/renovate/github.com-google-go-github-v35-35.x 64cd98d Merge pull request #968 from reviewdog/renovate/cloud.google.com-go-0.x d383c09 Merge pull request #969 from ulfsauer0815/patch-1 bf99009 Merge pull request #970 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x d4c2326 Merge pull request #971 from Doarakko/master c91808e Merge pull request #972 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x c306030 Merge pull request #973 from reviewdog/renovate/golang.org-x-oauth2-digest 8688640 Merge pull request #974 from reviewdog/renovate/golang.org-x-oauth2-digest e69e61c Merge pull request #976 from Warashi/feature/github-api-url 7abbdef Merge pull request #977 from reviewdog/renovate/golang.org-x-oauth2-digest 5b9e6e7 Merge pull request #978 from reviewdog/renovate/google.golang.org-protobuf-1.x 246eb6d Merge pull request #979 from reviewdog/release-v0.12 9fcf8db Merge pull request #980 from shogo82148/bump-go-1.16 4216c7e Merge pull request #981 from reviewdog/fix-goreleaser-brews ee3ebc6 Merge pull request #982 from reviewdog/goreleaser-check 35adf15 Now that github-pr-review only support code suggestions, we cannot say github-check is better than github-pr-review fac09c9 Revert "Trigger doghouse deploy" 44d24d3 Revert "debug: check goreleaser" d79728a Revert "debug: remove branch restriction temporarily to test goreleaser check" 4bd8568 Trigger doghouse deploy 66ab19f Update GitHub Release Stats link d654dd9 Update reviewdog.yml 5777014 Use FETCH_HEAD as an example of git diff command 2d6777b Use name to describe the goreleaser check step 09924cc add a comment about GITHUB_API_URL 77b3bed add mypy action 2c2929c bump github.com/google/go-github v33 9de9501 bump go-github v35.2.0 a0b49bc bump google/go-github v35.0.0 510dbd2 bump v0.12.0 312e669 ci: Use golint only on travis to reduce build time 9387532 ci: migrate textlint check from Travis to GitHub Actions b4faeba debug: check goreleaser f5bdc33 debug: remove branch restriction temporarily to test goreleaser check ab2feae do not run deploy doghouse workflow on push to master f0437ce doc(changelog): Added #888 to unreleased section 6f79e41 doc: add description about format key in config file 134d18c doghouse: Update Go runtime to go115 8bb403d feature(prReport): Allow pull_request_target action even if it's a forked repo 80e21b8 fix a warning of CodeQL Analysis 89ea32f fix circle ci config 42d8326 fix cleanup commands 393bb47 fix deprecated brews.github config of goreleaser 1412c07 fix typo 5574ce9 fix(deps): update github.com/reviewdog/errorformat commit hash to 292fb82 0d1f6bc fix(deps): update github.com/reviewdog/errorformat commit hash to a74eb21 4cd9aa6 fix(deps): update github.com/reviewdog/errorformat commit hash to e024dee c47f56e fix(deps): update github.com/reviewdog/errorformat commit hash to fd739bd 3ed9fc2 fix(deps): update golang.org/x/oauth2 commit hash 632c6ec fix(deps): update golang.org/x/oauth2 commit hash to 9bb9049 1ea3562 fix(deps): update golang.org/x/oauth2 commit hash to a8dc77f 536bc64 fix(deps): update golang.org/x/oauth2 commit hash to bce0382 ead7886 fix(deps): update golang.org/x/oauth2 commit hash to d040287 536a593 fix(deps): update golang.org/x/oauth2 commit hash to f6687ab cae96fb fix(deps): update golang.org/x/sync commit hash to 036812b 0dc7bc7 fix(deps): update module cloud.google.com/go to v0.78.0 9372948 fix(deps): update module cloud.google.com/go to v0.79.0 e507de0 fix(deps): update module cloud.google.com/go to v0.81.0 bf2793e fix(deps): update module cloud.google.com/go to v0.82.0 7215a4c fix(deps): update module cloud.google.com/go to v0.83.0 21c92a2 fix(deps): update module cloud.google.com/go to v0.84.0 ff62519 fix(deps): update module contrib.go.opencensus.io/exporter/stackdriver to v0.13.6 dbd71b2 fix(deps): update module contrib.go.opencensus.io/exporter/stackdriver to v0.13.7 a9d0837 fix(deps): update module contrib.go.opencensus.io/exporter/stackdriver to v0.13.8 264ba8e fix(deps): update module github.com/golang/protobuf to v1.5.2 bcb02e1 fix(deps): update module github.com/google/go-cmp to v0.5.5 480553b fix(deps): update module github.com/google/go-cmp to v0.5.6 171da04 fix(deps): update module github.com/google/go-github/v35 to v35.1.0 aebb3f8 fix(deps): update module github.com/google/go-github/v35 to v35.3.0 b538622 fix(deps): update module github.com/mattn/go-shellwords to v1.0.12 7676b5d fix(deps): update module github.com/xanzy/go-gitlab to v0.45.0 75ee4bc fix(deps): update module github.com/xanzy/go-gitlab to v0.46.0 e92854f fix(deps): update module github.com/xanzy/go-gitlab to v0.47.0 9bc2330 fix(deps): update module github.com/xanzy/go-gitlab to v0.48.0 896d737 fix(deps): update module github.com/xanzy/go-gitlab to v0.49.0 f5b1223 fix(deps): update module github.com/xanzy/go-gitlab to v0.50.0 1b4b8e9 fix(deps): update module go.opencensus.io to v0.23.0 2970d5d fix(deps): update module google.golang.org/protobuf to v1.26.0 2fb75ad fix(deps): update module google.golang.org/protobuf to v1.27.0 d263190 fix: put a slash at the end of baseURL c8dbddf format(*): Extract a flag for forked pr to make it clear 8036c20 install reviewdog for textlint check job d404305 remove debug config b6b35ae remove deploy and test workflows from circle ci d9b37e3 scripts/trigger-depup: increase per-page size to 100 e910043 set default project_id 14f3337 specify fetch-depth for testing e6823d9 test deploy doghouse workflow on push 3ac3821 treat GITHUB_API_URL env as same as GITHUB_API env 98349f4 use the same release job for testing goreleaser

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(927 bytes)
    reviewdog_0.12.0_Darwin_arm64.tar.gz(5.26 MB)
    reviewdog_0.12.0_Darwin_x86_64.tar.gz(5.26 MB)
    reviewdog_0.12.0_Linux_arm64.tar.gz(4.61 MB)
    reviewdog_0.12.0_Linux_armv6.tar.gz(4.69 MB)
    reviewdog_0.12.0_Linux_i386.tar.gz(4.77 MB)
    reviewdog_0.12.0_Linux_x86_64.tar.gz(5.03 MB)
    reviewdog_0.12.0_Windows_armv6.tar.gz(4.81 MB)
    reviewdog_0.12.0_Windows_i386.tar.gz(4.94 MB)
    reviewdog_0.12.0_Windows_x86_64.tar.gz(5.08 MB)
  • v0.11.0(Oct 25, 2020)

    See CHANGELOG

    Changelog

    3e7cb51 Add Json Schema 0bb4fe3 Add a depup trigger script 543afa6 Add comments (golint) 79ee773 Add custom rdjsonl test for github-check b57a38f Add diff format in help doc f959e86 Add documentations for tee debugging flag 1a23c48 Apply suggestions from code review faec795 Bump version to v0.11.0 5e028ba Check for GITHUB_ACTIONS to distinguish environment 198d9f3 Do not use go as custom text data target 7c1398d Fix grammer errors reported by LanguageTool ae0562e Fix link ea0474a Fix typo d84e276 Fix typo b623f5c Fix typos e891e44 Follow document's url change 3630b75 Introduce reviewdog/[email protected] 81995ae List action-alex in README 1b98aeb Merge branch 'Trane9991/master' 51bfa26 Merge branch 'master' into rdformat-github-line-suggestions 116d662 Merge branch 'master' into rdp f6248b8 Merge branch 'master' into some-fixes fa93025 Merge branch 'master' of github.com:Trane9991/reviewdog into master 3cdc676 Merge branch 'master' of github.com:Trane9991/reviewdog into master 6082468 Merge branch 'master' of https://github.com/reviewdog/reviewdog into master c3ea79c Merge branch 'release-v0.10' d0f0e93 Merge branch 'release-v0.10' 0988ded Merge pull request #629 from reviewdog/rdp 6cf82fc Merge pull request #656 from reviewdog/renovate/cloud.google.com-go-0.x 9dcf381 Merge pull request #657 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x 4ec5e90 Merge pull request #658 from reviewdog/fix-typos 50008f4 Merge pull request #662 from reviewdog/renovate/github.com-reviewdog-errorformat-digest fdaa087 Merge pull request #663 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 86400b3 Merge pull request #664 from reviewdog/renovate/github.com-reviewdog-errorformat-digest a960230 Merge pull request #665 from reviewdog/introduce-alex eebeee9 Merge pull request #666 from reviewdog/renovate/golang.org-x-net-digest a942f45 Merge pull request #668 from reviewdog/renovate/github.com-reviewdog-errorformat-digest c5dfbb0 Merge pull request #669 from reviewdog/renovate/cloud.google.com-go-0.x 478fd84 Merge pull request #670 from reviewdog/renovate/github.com-kisielk-errcheck-1.x 5bf5193 Merge pull request #671 from reviewdog/dependabot/npm_and_yarn/lodash-4.17.19 91b7155 Merge pull request #672 from reviewdog/renovate/github.com-reviewdog-errorformat-digest e74b6b8 Merge pull request #673 from reviewdog/rdformat-basic a210751 Merge pull request #674 from reviewdog/rdformat-input 434c329 Merge pull request #675 from reviewdog/rdformat-github-line-suggestions 7970d20 Merge pull request #676 from reviewdog/go-github-update e543e24 Merge pull request #677 from reviewdog/renovate/docker-golang-1.x afb4d31 Merge pull request #679 from reviewdog/renovate/github.com-google-go-cmp-0.x ff11c86 Merge pull request #680 from reviewdog/multilines f20446e Merge pull request #682 from reviewdog/share-round-trip 7822f10 Merge pull request #683 from reviewdog/doghouse-go114 e696428 Merge pull request #684 from reviewdog/rdformat-github-check fa9fd4c Merge pull request #685 from reviewdog/progo-gen-go a6759cd Merge pull request #686 from reviewdog/doghouse-log 991c983 Merge pull request #687 from reviewdog/go-err-wrap 324aaa0 Merge pull request #688 from reviewdog/rdf-original-output cd563c2 Merge pull request #689 from reviewdog/rdf-original-output-internal 369164a Merge pull request #690 from reviewdog/rdf-parser-impr 7785d3c Merge pull request #691 from reviewdog/refactor-filter 47f7450 Merge pull request #692 from reviewdog/action-update 7ee4949 Merge pull request #693 from reviewdog/doghouse-401 3872614 Merge pull request #694 from reviewdog/rdf-parser-support-impr 07d19d3 Merge pull request #695 from reviewdog/action-log-level d20b8bb Merge pull request #696 from reviewdog/fix-line-break b5ffd14 Merge pull request #697 from reviewdog/comment-body 0b15961 Merge pull request #698 from reviewdog/github-non-line-based-suggestion 304b1eb Merge pull request #699 from reviewdog/diff-based-suggestion ab6aed1 Merge pull request #700 from reviewdog/rdformat-impr d427679 Merge pull request #701 from reviewdog/remove-ci-flag 96e4801 Merge pull request #702 from reviewdog/gofmt c9259e8 Merge pull request #703 from reviewdog/input-rdjson 88870ca Merge pull request #704 from mehagar/patch-1 31a1260 Merge pull request #705 from reviewdog/renovate/cloud.google.com-go-0.x 7d4f09a Merge pull request #707 from reviewdog/renovate/github.com-reviewdog-errorformat-digest d8cbe31 Merge pull request #709 from polamjag/github-actions-env 47fd814 Merge pull request #712 from reviewdog/trigger-depup 9bf4d33 Merge pull request #713 from reviewdog/trigger-depup-fix 4ac6968 Merge pull request #714 from reviewdog/update-release-doc 780fde6 Merge pull request #716 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 48cb364 Merge pull request #717 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x a0ea703 Merge pull request #718 from reviewdog/renovate/docker-golang-1.x 201c5e3 Merge pull request #719 from reviewdog/renovate/cloud.google.com-go-0.x 83979c1 Merge pull request #720 from reviewdog/setup-reviewdog 723d15b Merge pull request #721 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 9bed770 Merge pull request #722 from kos31de/fix-readme-typo f017ac6 Merge pull request #723 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x a84a791 Merge pull request #724 from reviewdog/renovate/docker-golang-1.x dc110e4 Merge pull request #725 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 4eac664 Merge pull request #726 from reviewdog/renovate/docker-circleci-golang-1.x cb0f874 Merge pull request #728 from reviewdog/renovate/golang.org-x-net-digest 4272f22 Merge pull request #729 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 14184a6 Merge pull request #733 from takezyou/add-action-ansiblelint daa504f Merge pull request #734 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x 0b35d35 Merge pull request #737 from reviewdog/renovate/cloud.google.com-go-0.x 6ba5e56 Merge pull request #738 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 3b5df78 Merge pull request #740 from reviewdog/renovate/golang.org-x-net-digest 7cc63fd Merge pull request #741 from reviewdog/renovate/github.com-google-go-cmp-0.x aaa829a Merge pull request #742 from reviewdog/renovate/contrib.go.opencensus.io-exporter-stackdriver-0.x c3bf4c6 Merge pull request #743 from reviewdog/mgrachev-patch-1 e569740 Merge pull request #744 from reviewdog/renovate/cloud.google.com-go-0.x bf5ef87 Merge pull request #745 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 25436ed Merge pull request #746 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x fdc0a2d Merge pull request #749 from reviewdog/renovate/github.com-justinas-nosurf-1.x 75d89a5 Merge pull request #750 from reviewdog/renovate/docker-golang-1.x 5838279 Merge pull request #751 from reviewdog/renovate/golang.org-x-oauth2-digest e665c10 Merge pull request #752 from reviewdog/renovate/golang.org-x-net-digest 5536517 Merge pull request #753 from reviewdog/renovate/docker-golang-1.x 13b78a6 Merge pull request #754 from reviewdog/dependabot/npm_and_yarn/node-fetch-2.6.1 58023f7 Merge pull request #755 from reviewdog/renovate/cloud.google.com-go-0.x 08d6578 Merge pull request #756 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 86ad565 Merge pull request #757 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 50dd178 Merge pull request #758 from singhprd/patch-1 d679f79 Merge pull request #761 from reviewdog/renovate/golang.org-x-net-digest e494c11 Merge pull request #762 from reviewdog/update-links 32868b5 Merge pull request #763 from reviewdog/renovate/golang.org-x-net-digest 5228c1a Merge pull request #764 from reviewdog/renovate/golang.org-x-net-digest 7200c2d Merge pull request #765 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 4356a1a Merge pull request #766 from reviewdog/renovate/cloud.google.com-go-0.x b420581 Merge pull request #767 from reviewdog/renovate/golang.org-x-sync-digest 25e7c7f Merge pull request #768 from reviewdog/renovate/golang.org-x-net-digest 3661699 Merge pull request #770 from reviewdog/renovate/golang.org-x-net-digest ef72ba8 Merge pull request #771 from reviewdog/renovate/cloud.google.com-go-0.x 260c421 Merge pull request #772 from reviewdog/renovate/golang.org-x-net-digest 8e8ce96 Merge pull request #773 from reviewdog/renovate/go.opencensus.io-0.x ddae0cf Merge pull request #776 from reviewdog/renovate/golang.org-x-sync-digest 81dc85f Merge pull request #777 from reviewdog/renovate/golang.org-x-net-digest a045d63 Merge pull request #778 from reviewdog/renovate/golang.org-x-net-digest 835d5ba Merge pull request #779 from reviewdog/renovate/golang.org-x-net-digest 1216226 Merge pull request #780 from reviewdog/renovate/cloud.google.com-go-0.x 8f6627d Merge pull request #781 from reviewdog/renovate/cloud.google.com-go-0.x 393abb9 Merge pull request #782 from reviewdog/renovate/docker-golang-1.x 889e04e Merge pull request #783 from reviewdog/renovate/github.com-golang-protobuf-1.x 45765d5 Merge pull request #784 from reviewdog/renovate/golang.org-x-net-digest 700f376 Merge pull request #786 from reviewdog/remove-duplicate-lines 59f48c0 Merge pull request #787 from reviewdog/some-fixes 1d8f6d6 Merge pull request #788 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 806c357 Merge pull request #789 from reviewdog/renovate/cloud.google.com-go-0.x c0c9198 Merge pull request #790 from reviewdog/renovate/golang.org-x-net-digest 0a8f7ac Merge pull request #791 from reviewdog/renovate/actions-cache-2.x 1903e24 Merge pull request #792 from reviewdog/renovate/goreleaser-goreleaser-action-2.x f1aa5e0 Merge pull request #793 from reviewdog/github-pr-review-suggest-with-single-loc 6742a2d Merge pull request #794 from reviewdog/renovate/github.com-reviewdog-errorformat-digest f2d165d Merge pull request #795 from reviewdog/renovate/golang.org-x-sync-digest a615313 Merge pull request #799 from Trane9991/master 52edab5 Merge pull request #800 from reviewdog/rdformat-doc a2d07ab Merge pull request #801 from reviewdog/suggestion-broader-range d6b6b57 Merge pull request #802 from reviewdog/release-v0.11 832ae74 More line range examples b21c241 RD Forrmat: add original_output (experimental) bbf4b33 RDP is already used by Remote Desktop Protocol 8440424 RFC: Reviewdog Diagnostic Protocol (RDP) b61ae06 Remove duplicate lines. a109e12 Remove reviewdog.Comment.Body 51beae7 Revert "Apply suggestions from code review " 42ea9ad Set fetch-depth: 50 for the gerrit test eca9728 Some fixes. 8496cb2 Support rdjsonl as input format a2c2e32 Try https://github.com/vvakame/sdlog 5e689ab Update CHANGELOG add7f7b Update CHANGELOG a75b840 Update RD Format document: Add SARIF section c7c3f72 Update README about RDFormat and Code Suggestions feature 76d0c85 Update README.md 1f754ac Update _testdata/golint.go c0c7733 Update concept architecture image b1ac0f0 Update go-github to v32 932bfd6 Update links d7647fd Update proto/rdp/README.md 4432b86 Use Diagnostic.original_output internally and remove CheckResult type 994322d Use Reviewdog Diagnostic Format internally 5f33dc6 Use protojson to unmarshal rdjsonl 5cb40c1 Use [email protected] f15f029 add a comment for golint 59989a0 add a multiline suggestion test c104cae add action-ansiblelint 131c2e0 add different message for pending report type 6151198 add different message for the Passed reports 8f34185 add documentation 8672801 add more custom rdjsonl tests (severity,code) 8861f77 add more tests # ------------------------ >8 ------------------------ # reviewdog results # ------------------------ >8 ------------------------ # reviewdog results 0db525c add multiple suggestions tests 2b11a08 add screenshots of the annotations to readme 4e78769 add test: diagnostic range != suggestion range d65ac08 add tests 1c58436 add tests for annotator 180302f add various suggestion tests dbb5627 annotation fixes 997e2e1 avoid redundant name af9b22f batch annotations send 47878f1 bitbucket repors logic implementation checkpoint f231e34 bitbucket-code-report readme improvements 97790a8 bitbucket-code-report: log the filter mode warning only when it's needed 35131e6 build(deps): bump lodash from 4.17.15 to 4.17.19 797e938 ci: disable testpackage 3d89d09 ci: disable wsl e42e45e ci: gofmt -s with reviewdog 2963553 ci: trigger depup workflows of other reviwedog action repositories b2b303f ci: use rdjson instead of rdjsonl for test data for readability f3ea81e circleci: remove webhooks f04439a copied code generated from swagger cc04040 create green report when no issues found from specific runner 798e052 debug 7b3bcaa diff: support unified diff extension used by gofmt -d fe9d381 disable staticheck for generated openapi code a42cd27 doc: add Hot Fix Release process e5279b1 doc: introduce reviewdog/action-setup 77938ba doghouse: Use fork ver of ghinstallation for debugging 377780b doghouse: Use shared http.RoundTripper d39380f doghouse: fill in span id and trace only 5c8504f doghouse: fix needless severity logging 0f71ddf doghouse: log correct remote addr 845a1ac doghouse: remove needless trailing line-break from aelog fb28553 doghouse: remove own logger 3b7e74d doghouse: retry check run upto 5 times 5225fe1 doghouse: sleep 1 sec before retrying 3571cb2 doghouse: try cloud.google.com/go/logging 8ccbaac doghouse: update fork ghinstallation a45491c doghouse: use Go 1.14 bf09fbc doghouse: use aelog everywhere a1aca80 doghouse:debug more log 6cfc23e filter: add SourceLines from diff data when filtering 00855a6 filter: do not strip when path is absolute 7835746 filter: refactor NormalizePath 1a53da6 fix CHANGELOG of v0.10.2 ee26454 fix English de0b6a2 fix IsPosted logic to support suggestions (custom comment body) 9980154 fix anchor in readme e8c02ab fix bitbucket example in readme ff14b21 fix cond 201045c fix condition da9233d fix creation of green report b7687c1 fix default behaviour 9c2ba40 fix empty map 12ee008 fix existing comments handling fdb9091 fix existing comments handlings for line-break range comments # ------------------------ >8 ------------------------ # reviewdog results cde1915 fix insert lines test 88105a6 fix langtool issues c31730b fix langtool warnings c06001b fix nits 9e6518f fix nor 0466356 fix report id generation b6ece99 fix suggestions data 042a616 fix the no-filter mode for bitbucket pipeline, upadate docs fed19cd fix to disable staticcheck for /bitbucket/openapi fabcbb8 fix typo d53cc10 fix variable name 1d10d83 fixes for linters 4c002f4 fixup: handle GITHUB_ACTIONS environment variable instead of GITHUB_ACTION in tests c130370 fmt generated code fb8bbc1 get external id from diagnostics message 4d31998 get list of runners from the project as well ab25a4a github-action-log: support severity level cf9b48c github-check: Output end line in annotation title. 8465dcb github-check: Support Reviewdog Diagnostic Format and annotation level conversion be61746 github-check: Support range comments 71d3105 github-check: add a test for requests from old reviewdog CLI ad84f03 github-check: add source tests 84a116f github-check: fix column with start position only a8c662f github-check: refactor building annotation title 60cf0d9 github-check: support diagnostic code db3d925 github-pr-review: Add multiline tests # ------------------------ >8 ------------------------ # reviewdog results ccdec1d github-pr-review: Add suggestions test f290ed7 github-pr-review: Prefer suggestion range to diagnostic range as GitHub comment range 3d89ad0 github-pr-review: Support multiline comments # ------------------------ >8 ------------------------ # reviewdog results 21c0e0f github-pr-review: Support range suggestions 41b8e48 github-pr-review: Support single line suggestion 0b3a5b1 github-pr-review: [suggestion] support start only location with ranged suggestion 4110dbe github-pr-review: add suggestions test cc52dd4 github-pr-review: fix multiline comments # ------------------------ >8 ------------------------ # reviewdog results 3d19f58 github-pr-review: fix multiline comments which is partially outside diff context. 356830a github-pr-review: fix rnd position with column == 1 handling ceafe32 github-pr-review: improve suggestion error message 6e38a08 github-pr-review: improve suggestion error messages b39b8f6 github-pr-review: minor improvement of suggestion error 998ef71 github-pr-review: suggestion error 841d3bd github-pr-review: support multiline suggestion ed55637 gitlab: fix workdir 43a71ea gitlab: run custom rdjsonl test 89b0325 gofmt 5853bc1 gofmt test data # ------------------------ >8 ------------------------ # reviewdog results 3910131 implementation auth, error handling, etc f71f0c4 initial client creation 55fa0ea leave reviewdog/[email protected] usage as comments c4448f1 make sure we don't have duplicated events 5177d13 manually fix generated code to pass staticcheck 2ac769a minor tweak 223ba6c move filter.go to filter package 0a41c6d parser: fix protojson format flakiness issue 647c19a parser: implement diff parser 2b2e18b parser: improve checkstyle parser 65fc5f4 parser: improve errorformat parser 0b5bd58 parser: support rdjson format (JSON of DiagnosticResult) f6e64bd parser: test Note severity conversion b5a6498 parser:diff: add unit test c471846 parser:diff: fix insersion handling 20ba8a6 parser:diff: refactoring 00ea726 parser:diff: remove needless workdir field 1f6ce78 parser:rdjson: fill in original output 2a12c5b parser:rdjson{,l}: improve comments and error messages 27aad3c refactor annotations creation da0007d refactor: create parser package 235ee85 remove TODO switch 0fcca7c remove comment out 853ad65 remove deprecated -ci flag 019a67b remove grep filter for old bitbucket/openapi package 4c4d5ca remove mentions of ReportTitle configuration 7a5d200 remove remaining CheckResult name 727d81d remove severity counter 7213571 remove version from readme example 07b9733 rename FilteredCheck to FilteredDiagnostic 400ba97 rename Reviewdog Diagnostic Protocol to Reviewdog Diagnostic Format 9c703e0 rename difffilter to filter 01978d0 replace local bitbucket/openapi package with external reviewdog/go-bitbucket e276f5a report per tool 6d34b4a reviewdog_version is optional 8776552 scripts/trigger-depup: run flag.Parse() 347d793 separate files per each parser 6bc2b59 service/commentutil: add tests and append
    for GitLab 3a980f8 service/commentutil: rename CommentBody to MarkdownComment 2a0e317 service/commentutil: support code (diagnostic rule) e6a6b7d service/commentutil: support severity 5cb9aa9 service/commentutil: support source name in Diagnostic da0933e small cleanup f18714f smarter build list of runners create "pending" reports on tool start df32cc1 stop using forked ghinstallation 1543130 swagger problem fix 6665a46 travis: do not run go master and remove webhooks cb0ab4e tweak f1be75c tweak CHANGELOG emoji f1f0481 tweak RDP document c9e7655 updage ghinstallation 30cb497 update CHANGELOG a6c1c66 update CHANGELOG ab0239d update CHANGELOG 1d40571 update CHANGELOG f0a32c3 update CHANGELOG 0bd095b update changelog 05631a4 update rdjsonl test data 6f8f74a update test txt 5941ea4 update unreleased section in changelog b637ba1 use empty filter always, for bb for now a5c995f use info for custom rdjsonl github-check testing 4b48cc0 use text for suggestion test data a409f83 wrap errors with %w directive

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(720 bytes)
    reviewdog_0.11.0_Darwin_x86_64.tar.gz(5.97 MB)
    reviewdog_0.11.0_Linux_arm64.tar.gz(5.27 MB)
    reviewdog_0.11.0_Linux_armv6.tar.gz(5.36 MB)
    reviewdog_0.11.0_Linux_i386.tar.gz(5.49 MB)
    reviewdog_0.11.0_Linux_x86_64.tar.gz(5.69 MB)
    reviewdog_0.11.0_Windows_i386.tar.gz(5.42 MB)
    reviewdog_0.11.0_Windows_x86_64.tar.gz(5.63 MB)
  • v0.10.1(Jun 29, 2020)

    See CHANGELOG

    Changelog

    91f2fa6 Add Code of Conduct 17394d4 Add a code of conduct badge 9ed1636 Add a link to CHANGELOG in GitHUb Release Note by default 72681f5 Add gerrit support to the release note 3e79cf2 Add integration tests for handling unexpected failures # ------------------------ >8 ------------------------ # reviewdog results 900eea9 Add reviewdog/action-staticcheck in README 7ffc2d8 Always use chore(deps) prefix for renovate PRs 5b015f5 Check unexpected failures for github-check (doghouse) flow 60e35d3 Create codeql-analysis.yml 40af1ac Do not check _testdata in the staticcheck runner f85012e Exclude chore commits/PRs for goreleaser changelog be8cee2 Fix detection logic to determin Pull Requests from forked repo 3473098 Fix v0.10.1 release b117ef4 Ignore staticcheck's deprecation warning 52244f2 Introduce https://github.com/reviewdog/action-staticcheck f8b528c Merge pull request #557 from reviewdog/renovate/cloud.google.com-go-0.x af71a4e Merge pull request #564 from reviewdog/release-node-gerrit de62665 Merge pull request #565 from roobre/fix-563 c89586a Merge pull request #566 from reviewdog/renovate/golang.org-x-build-digest 4830920 Merge pull request #569 from reviewdog/renovate/golang.org-x-build-digest 655bbf6 Merge pull request #570 from reviewdog/release-manual 54927d1 Merge pull request #571 from reviewdog/npm-audit-fix e7611a8 Merge pull request #572 from reviewdog/add-code-of-conduct-1 88d5a24 Merge pull request #573 from reviewdog/action-staticcheck bc5bbfb Merge pull request #574 from reviewdog/renovate/golang.org-x-build-digest 092edd0 Merge pull request #575 from reviewdog/renovate/gopkg.in-yaml.v2-2.x 4a7162a Merge pull request #577 from reviewdog/renovate/golang.org-x-build-digest 8886321 Merge pull request #578 from reviewdog/renovate/golang.org-x-net-digest 511d0c7 Merge pull request #579 from reviewdog/renovate/golang.org-x-build-digest 0311aec Merge pull request #580 from reviewdog/renovate/golang.org-x-build-digest 6111748 Merge pull request #582 from reviewdog/dot-github 1c61135 Merge pull request #583 from reviewdog/renovate/golang.org-x-build-digest 9ebc66b Merge pull request #584 from reviewdog/renovate/golang.org-x-build-digest c08ccc0 Merge pull request #585 from reviewdog/renovate/golang.org-x-build-digest 2cfd603 Merge pull request #586 from reviewdog/renovate/github.com-google-go-cmp-0.x ed0c216 Merge pull request #589 from reviewdog/renovate/golang.org-x-build-digest b39c658 Merge pull request #590 from reviewdog/renovate/golang.org-x-build-digest 9eb6d32 Merge pull request #591 from reviewdog/renovate/golang.org-x-net-digest 76fa940 Merge pull request #592 from reviewdog/renovate/golang.org-x-build-digest 560b4b7 Merge pull request #593 from reviewdog/renovate/golang.org-x-build-digest 42986bf Merge pull request #594 from reviewdog/renovate/golang.org-x-net-digest 2e06cf2 Merge pull request #597 from reviewdog/renovate/golang.org-x-build-digest ea38378 Merge pull request #598 from reviewdog/renovate/golang.org-x-net-digest 92cbe6b Merge pull request #601 from reviewdog/renovate/golang.org-x-build-digest bfb8cbb Merge pull request #602 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x e7ae635 Merge pull request #604 from reviewdog/renovate/github.com-reviewdog-errorformat-digest fad0b99 Merge pull request #605 from reviewdog/renovate/golang.org-x-build-digest 6a56f4f Merge pull request #606 from reviewdog/renovate/golang.org-x-build-digest 8af6eed Merge pull request #607 from reviewdog/renovate/golang.org-x-build-digest f322b4f Merge pull request #608 from reviewdog/renovate/golang.org-x-net-digest 0321a7d Merge pull request #609 from reviewdog/dhcli 5192b3a Merge pull request #610 from reviewdog/renovate/golang.org-x-build-digest d54d57b Merge pull request #611 from reviewdog/renovate/golang.org-x-build-digest cbd5d5e Merge pull request #612 from reviewdog/renovate/golang.org-x-net-digest 31af686 Merge pull request #613 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 1d42b3b Merge pull request #614 from reviewdog/renovate/golang.org-x-build-digest c853ac2 Merge pull request #615 from reviewdog/renovate/golang.org-x-build-digest 140b6d7 Merge pull request #616 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 78ec87f Merge pull request #617 from reviewdog/renovate/golang.org-x-build-digest d09feb4 Merge pull request #619 from reviewdog/renovate/golang.org-x-build-digest ffa8886 Merge pull request #620 from reviewdog/update-scaling-config 384e531 Merge pull request #621 from reviewdog/doghouse-trace 723b4b1 Merge pull request #622 from reviewdog/renovate/cloud.google.com-go-0.x 7b11551 Merge pull request #623 from reviewdog/renovate/golang.org-x-build-digest 232a35c Merge pull request #626 from DVDAndroid/dvd/android-lint 446648c Merge pull request #627 from reviewdog/renovate/golang.org-x-build-digest 7aa7b14 Merge pull request #630 from reviewdog/haya14busa-patch-1 cb7a95c Merge pull request #631 from reviewdog/renovate/golang.org-x-build-digest 2e83257 Merge pull request #632 from reviewdog/renovate/golang.org-x-build-digest aeef531 Merge pull request #633 from jsoref/spelling 6ced532 Merge pull request #635 from reviewdog/renovate/go.opencensus.io-0.x ef59d14 Merge pull request #636 from reviewdog/renovate/github.com-google-go-cmp-0.x b2c3ba7 Merge pull request #642 from reviewdog/renovate/github.com-reviewdog-errorformat-digest ce75a5e Merge pull request #644 from reviewdog/renovate/cloud.google.com-go-0.x 242242d Merge pull request #645 from reviewdog/renovate/golang.org-x-net-digest 35e862b Merge pull request #646 from reviewdog/renovate/golang.org-x-sync-digest 0a41287 Merge pull request #648 from reviewdog/ignore-staticcheck a5d3ff5 Merge pull request #649 from reviewdog/fix-readme 5a9726a Merge pull request #650 from reviewdog/update-errcheck 7a983b3 Merge pull request #651 from reviewdog/renovate-chore 3c85733 Merge pull request #652 from reviewdog/renovate/docker-gcr.io-gcpug-container-appengine-go-1.x b6d7542 Merge pull request #653 from reviewdog/fork-detect cce53a6 Merge pull request #654 from reviewdog/release-0.10.1 f24b213 Merge pull request #655 from reviewdog/release-0.10.1-fix 67ba68f Move repository config to .github repo 07f52e0 Post bumpr status on Release Pull Requests cc91665 Release v0.10.1 0c74ec8 Run other linters as much as possible 9565536 Update CHANGELOG eb8b281 Update CODE_OF_CONDUCT.md e7345e4 Update README.md abc569e Update github.com/reviewdog/errorformat commit hash to 83a795b c2f2faf Update github.com/reviewdog/errorformat commit hash to 9f3caa8 32ceef5 Update github.com/reviewdog/errorformat commit hash to ac6101f 6557407 Update golang.org/x/build commit hash to 07bebbe 961b586 Update golang.org/x/build commit hash to 0a9a8b5 e38938a Update golang.org/x/build commit hash to 1475309 55bee12 Update golang.org/x/build commit hash to 1f82dd3 513b715 Update golang.org/x/build commit hash to 4872bff 5532510 Update golang.org/x/build commit hash to 511221c cead6bd Update golang.org/x/build commit hash to 6afe8a2 11da02e Update golang.org/x/build commit hash to 6b5029f fe07757 Update golang.org/x/build commit hash to 826f76b b1a64d5 Update golang.org/x/build commit hash to 83d1cf6 c15b30f Update golang.org/x/build commit hash to 8e9a669 d0b466c Update golang.org/x/build commit hash to 92427f6 e07c355 Update golang.org/x/build commit hash to 92f0c56 84e199f Update golang.org/x/build commit hash to 9e7a762 dca015b Update golang.org/x/build commit hash to ae04491 408b737 Update golang.org/x/build commit hash to bdb4c1f 1797d5a Update golang.org/x/build commit hash to be58d06 4257a97 Update golang.org/x/build commit hash to cf70d91 575e480 Update golang.org/x/build commit hash to db1d16d 92e96c5 Update golang.org/x/build commit hash to df328b1 8c0cd25 Update golang.org/x/build commit hash to e566a70 c425be5 Update golang.org/x/build commit hash to fd3ecdd 1c2cee8 Update golang.org/x/net commit hash to 0ba52f6 1e990b8 Update golang.org/x/net commit hash to 3c3fba1 91a2fcb Update golang.org/x/net commit hash to 59133d7 7674937 Update golang.org/x/net commit hash to 627f964 2e18b44 Update golang.org/x/net commit hash to d87ec0c 7ae9310 Update golang.org/x/sync commit hash to 6e8e738 fa30213 Update linters for travis dfed5ef Update module cloud.google.com/go to v0.57.0 febdc00 Update module go.opencensus.io to v0.22.4 b61dcad Update module google/go-cmp to v0.4.1 fa6a723 Update module google/go-cmp to v0.5.0 7bb8c43 Update module kisielk/errcheck to v1.3.0 696b4a0 Update module xanzy/go-gitlab to v0.32.0 46bc66b Update module xanzy/go-gitlab to v0.32.1 0a090aa Use the Contributor Covenant, version 2.0 instead of 1.4 cb97d53 add test data for staticcheck a74f409 changelog: add #563 enhancement 3e54d41 cmd: chained if-else, fixed variable names b8c61ac cmd: use CI_API_V4_URL env as gitlab API URL Closes #563 f36716d doc: write release process 601dde4 doghouse: Support trace 89fa482 doghouse: Update automatic_scaling config to reduce the instance cost 9323c77 doghouse: do not share http client a58847e fix code of conduct link 2978c68 fix staticcheck warning 1d3ee1e fix typo 37cabcd github-check doesn't report results outside diff by default now d7c9d2d npm audit fix 88e3f1c spelling: added 5771a7e spelling: deprecated de1ad67 spelling: difffilter 36cce38 spelling: executable 7937bf2 spelling: seems 9b9f201 spelling: support ba9e128 spelling: typically af9288c update CHANGELOG 33bb17c update test data fe17300 update test data for debugging

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(822 bytes)
    reviewdog_0.10.1_Darwin_i386.tar.gz(5.54 MB)
    reviewdog_0.10.1_Darwin_x86_64.tar.gz(5.73 MB)
    reviewdog_0.10.1_Linux_arm64.tar.gz(5.06 MB)
    reviewdog_0.10.1_Linux_armv6.tar.gz(5.15 MB)
    reviewdog_0.10.1_Linux_i386.tar.gz(5.28 MB)
    reviewdog_0.10.1_Linux_x86_64.tar.gz(5.47 MB)
    reviewdog_0.10.1_Windows_i386.tar.gz(5.20 MB)
    reviewdog_0.10.1_Windows_x86_64.tar.gz(5.40 MB)
  • v0.10.0(May 7, 2020)

    See https://github.com/reviewdog/reviewdog/blob/master/CHANGELOG.md

    Changelog

    ebaf97c Add CHANGELOG cda9b31 Add CHANGELOG link from README 32a6630 Add Gerrit change review support ddc811c Add GitLab badge 970a8c5 Add a bumpr badge 29a911c Add action-brakeman a8369b0 Add action-fasterer to list 1864e0d Add an integartion which use local reporter with sub-dir run and -fail-on-error 3cc3552 Add information about exit codes in readme ba2c364 Add logo 2282914 Add reek f5029cb Add release workflow 6e8c4e4 Add reviewdog/action-languagetool in README e35e384 Add tests for new fail-on-error option ef695ce Added release note abb84bc Allow forced skipping of the doghouse server. a6f7689 Allow to return failure if any violations found in input data 9897570 Automatically choose the right shell 9890e96 Change default filter mode and return error for unknown flag value d700a33 Exit 1 if conclusion is failure and -fail-on-error for github-check reporter c78bb36 Filter results by "diff_context" in Github by default 195d68c Fix sub-directory run with refactoring d7f9e89 Implement -filter-mode=nofilter 762e255 Introduce codecov/codecov-action d8e2f1c Introduce reviewdog nightly release 7de46bf Link github release stats a3036e6 Make it possible to filter check results by all the lines from diff 879c6e7 Make reviewdog command filter results by all lines from diff by default 5ccaf98 Mention action-template in README for creating reviewdog actions 4a89e32 Mention available filter modes 4a9677b Merge branch 'master' into manage-exit-code 4e56547 Merge branch 'master' into renovate/github.com-xanzy-go-gitlab-0.x 85b869d Merge branch 'master' into support-subdir fd16c4f Merge branch 'master' into support-subdir 816031a Merge pull request #443 from reviewdog/gitlab-badge 3cf33e4 Merge pull request #444 from reviewdog/gitlab-ci-branch 1773b89 Merge pull request #445 from reviewdog/update-badges a60057f Merge pull request #447 from reviewdog/renovate/github.com-mattn-go-shellwords-1.x bf770d6 Merge pull request #448 from reviewdog/git-hook 9abb5e4 Merge pull request #449 from reviewdog/badge 72950d4 Merge pull request #450 from Le6ow5k1/filter-by-all-lines-in-diff 35453ca Merge pull request #451 from reviewdog/add-action-brakeman f2919bd Merge pull request #452 from reviewdog/renovate/github.com-bradleyfalzon-ghinstallation-1.x 7fddd11 Merge pull request #453 from reviewdog/renovate/cloud.google.com-go-0.x 5b59718 Merge pull request #454 from reviewdog/renovate/gopkg.in-yaml.v2-2.x c6d7678 Merge pull request #455 from nasa9084/patch-1 6608868 Merge pull request #456 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 5ff07cb Merge pull request #457 from reviewdog/template 8bf7970 Merge pull request #458 from reviewdog/renovate/golang.org-x-lint-digest e301619 Merge pull request #459 from reviewdog/renovate/github.com-reviewdog-errorformat-digest f3b3f91 Merge pull request #460 from reviewdog/renovate/golang.org-x-net-digest e85f6e5 Merge pull request #462 from reviewdog/renovate/github.com-mattn-go-shellwords-1.x 175479e Merge pull request #463 from reviewdog/renovate/docker-gcr.io-gcpug-container-appengine-go-1.x 062675f Merge pull request #465 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 64a51a1 Merge pull request #466 from renatoabreu11/master 7509883 Merge pull request #467 from reviewdog/langtool 4a29dce Merge pull request #468 from reviewdog/support-subdir bc80375 Merge pull request #470 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 3aba2df Merge pull request #471 from reviewdog/renovate/github.com-google-go-github-v29-29.x faab448 Merge pull request #472 from reviewdog/renovate/cloud.google.com-go-0.x 80b4e2c Merge pull request #473 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x b0d4484 Merge pull request #475 from reviewdog/renovate/golang.org-x-net-digest 00ed3cf Merge pull request #477 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 3fa5882 Merge pull request #478 from reviewdog/renovate/golang.org-x-net-digest 984c7a7 Merge pull request #480 from reviewdog/renovate/github.com-rakyll-statik-0.x 5aded5b Merge pull request #481 from reviewdog/renovate/golang.org-x-net-digest 7923691 Merge pull request #482 from reviewdog/renovate/golang.org-x-net-digest 436cc44 Merge pull request #483 from reviewdog/renovate/docker-circleci-golang-1.x c45dc9c Merge pull request #485 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x c9d205f Merge pull request #487 from staticmukesh/master 9e439b3 Merge pull request #488 from reviewdog/renovate/golang.org-x-net-digest 9e8bba6 Merge pull request #490 from reviewdog/renovate/github.com-mgechev-revive-1.x 223df5b Merge pull request #491 from reviewdog/renovate/golang.org-x-lint-digest d79f136 Merge pull request #493 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 8e56882 Merge pull request #494 from reviewdog/renovate/github.com-reviewdog-errorformat-digest e0453fe Merge pull request #495 from reviewdog/renovate/cloud.google.com-go-0.x 0d3ee87 Merge pull request #497 from reviewdog/renovate/mvdan.cc-unparam-digest 283db1f Merge pull request #498 from Miradorn/patch-1 7da40df Merge pull request #499 from reviewdog/renovate/golang.org-x-sync-digest c7f8282 Merge pull request #500 from reviewdog/renovate/github.com-reviewdog-errorformat-digest d2a9d9a Merge pull request #501 from reviewdog/renovate/cloud.google.com-go-0.x 83080c2 Merge pull request #503 from reviewdog/renovate/golang.org-x-net-digest 2f84a85 Merge pull request #505 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 296e099 Merge pull request #507 from reviewdog/renovate/cloud.google.com-go-0.x ff8b1d4 Merge pull request #509 from vk26/support/add-action-fasterer 85bc77a Merge pull request #511 from reviewdog/renovate/github.com-reviewdog-errorformat-digest f339a45 Merge pull request #513 from reviewdog/project-run-failure 02d020d Merge pull request #516 from kayoub5/master 9d7967c Merge pull request #517 from reviewdog/renovate/github.com-reviewdog-errorformat-digest c945b52 Merge pull request #519 from reviewdog/renovate/golang.org-x-net-digest 73c40e6 Merge pull request #520 from mattbailey/patch-1 f507019 Merge pull request #522 from Renato66/patch-1 5563156 Merge pull request #523 from jsoref/spelling beaec2c Merge pull request #524 from reviewdog/renovate/mvdan.cc-unparam-digest bc25be8 Merge pull request #525 from reviewdog/renovate/golang.org-x-net-digest 3606b09 Merge pull request #526 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 0bd3b49 Merge pull request #527 from reviewdog/renovate/mvdan.cc-unparam-digest 4a0f6b3 Merge pull request #528 from shogo82148/update-github-and-gitlab f8c1591 Merge pull request #529 from reviewdog/doc 20f4720 Merge pull request #530 from reviewdog/renovate/github.com-reviewdog-errorformat-digest ef84963 Merge pull request #531 from reviewdog/renovate/golang.org-x-build-digest 5359562 Merge pull request #532 from reviewdog/gomodtidy 20df126 Merge pull request #533 from reviewdog/fail-on-error-github-check 7676595 Merge pull request #535 from reviewdog/diff-mode 4da2262 Merge pull request #537 from alirezabashyri/patch-1 1f1c916 Merge pull request #538 from reviewdog/gitlab-diff-mode-support ee16dac Merge pull request #539 from reviewdog/diff-mode-default 42efcf3 Merge pull request #540 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 2fd4c6d Merge pull request #541 from reviewdog/no-filter-mode ab80e96 Merge pull request #542 from reviewdog/renovate/golang.org-x-build-digest 67fee38 Merge pull request #543 from reviewdog/renovate/golang.org-x-net-digest cd754e2 Merge pull request #544 from reviewdog/empty-diffcmd 642b328 Merge pull request #545 from reviewdog/check-api-nofilter 410bb1a Merge pull request #547 from reviewdog/filter-mode-doc e4073a9 Merge pull request #549 from reviewdog/renovate/golang.org-x-build-digest 956941d Merge pull request #550 from reviewdog/codecov-action 4cb6e46 Merge pull request #551 from reviewdog/go114 429eddc Merge pull request #552 from reviewdog/renovate-label ae15191 Merge pull request #553 from reviewdog/nightly 1a519db Merge pull request #554 from reviewdog/renovate/golang.org-x-build-digest 50d4775 Merge pull request #555 from reviewdog/introduce-nightly 81e65e1 Merge pull request #556 from reviewdog/renovate/golang.org-x-net-digest 58eedea Merge pull request #558 from reviewdog/remove-experimental b7bb6bc Merge pull request #559 from reviewdog/add-reek e359505 Merge pull request #561 from reviewdog/improve-release 144be8f Merge pull request #562 from reviewdog/release-0.10.0 e24a195 Remove ?maxAge from release related shields.io badges 3dc11cb Remove release flow from circle ci 5a0fbc6 Rename InDiff to ShouldReport e5ea602 Rename difffilter.FilterMode to difffilter.Mode 0c680a0 Return LnumDiff where possible for -filter-mode=file d78445f Revert "debug" e17f150 Revert "debug" fb5fc58 Run sub-dir with github-check test on non pull request f660b74 Setup Go before goreleaser action to change go version to build binaries 0adc87e Support empty -diff flag for -repoter=local with -filter-mode=nofilter 5c30494 Update README.md d06896b Update circleci/golang Docker tag to v1.14 31c14a1 Update diff command document to avoid --relative flag 2984a2d Update gcr.io/gcpug-container/appengine-go Docker tag to v1.13 862dc2f Update github.com/reviewdog/errorformat commit hash to 333243a 4ed39ee Update github.com/reviewdog/errorformat commit hash to 574f527 9d14215 Update github.com/reviewdog/errorformat commit hash to 647712b e65fde1 Update github.com/reviewdog/errorformat commit hash to 6a79475 b5020a4 Update github.com/reviewdog/errorformat commit hash to 9dd578d 6334a88 Update github.com/reviewdog/errorformat commit hash to d3e6dc2 d577629 Update github.com/reviewdog/errorformat commit hash to e3defe1 69832f9 Update github.com/reviewdog/errorformat commit hash to f5b5a3c 9e3fa78 Update github.com/reviewdog/errorformat commit hash to f81d8fd eaedfaa Update golang.org/x/build commit hash to 372ecfe 88aa720 Update golang.org/x/build commit hash to 642a88e f8ca6c2 Update golang.org/x/build commit hash to c34742b b1019bf Update golang.org/x/lint commit hash to 738671d d889a84 Update golang.org/x/lint commit hash to 910be7a 1962ce3 Update golang.org/x/net commit hash to 0de0cce 79d2d53 Update golang.org/x/net commit hash to 1617124 920878d Update golang.org/x/net commit hash to 1ed2336 4033161 Update golang.org/x/net commit hash to 244492d 6b9ddf0 Update golang.org/x/net commit hash to 4628272 ca91d14 Update golang.org/x/net commit hash to 491c5fc c74b572 Update golang.org/x/net commit hash to 5a598a2 680e9a5 Update golang.org/x/net commit hash to 7e3656a 9b2eac1 Update golang.org/x/net commit hash to d3edc99 dc473f2 Update golang.org/x/net commit hash to e0ff5e5 4df646e Update golang.org/x/net commit hash to ff2c4b7 8f3cb57 Update golang.org/x/sync commit hash to 43a5402 6733bc2 Update module bradleyfalzon/ghinstallation to v1.1.1 c2af70e Update module cloud.google.com/go to v0.52.0 bdd67e7 Update module cloud.google.com/go to v0.53.0 5f01ea8 Update module cloud.google.com/go to v0.54.0 991bdee Update module cloud.google.com/go to v0.55.0 2bda24b Update module cloud.google.com/go to v0.56.0 540a787 Update module google/go-github/v29 to v29.0.3 f90c44c Update module mattn/go-shellwords to v1.0.10 1ee64f9 Update module mgechev/revive to v1.0.2 cc22b32 Update module rakyll/statik to v0.1.7 17949eb Update module xanzy/go-gitlab to v0.23.0 812c997 Update module xanzy/go-gitlab to v0.24.0 6c5d965 Update module xanzy/go-gitlab to v0.25.0 64389af Update module xanzy/go-gitlab to v0.26.0 26f0b38 Update module xanzy/go-gitlab to v0.27.0 8dfda2d Update module xanzy/go-gitlab to v0.28.0 82dde0d Update module xanzy/go-gitlab to v0.29.0 87cc7bc Update module yaml to v2.2.8 b45c873 Update mvdan.cc/unparam commit hash to 0ac8026 73ad688 Update mvdan.cc/unparam commit hash to 6e24660 8035686 Update mvdan.cc/unparam commit hash to b37ab49 32ca935 Update service/gerrit/change_diff.go e6dc959 Use div instead of p for centering 282b488 Use go 1.14 c8443bb [ProjectRun] exit 1 if a tool fails with zero-findings e146f14 add "renovate" label for renovate pull requests c8a28b4 add .git_hooks b781e95 add .goreleaser-nightly.yml for nightly release 0f74db5 add FilteredCheck.InDiffFile and refactoring 9d61a2b add an integration for github-pr-check with -fail-on-error 3bb1843 add an integration test of github-pr-review with -filter-mode=nofilter 242d083 add an integration test to run github-pr-check with -filter-mode=file 79e8c87 add example img of prepare-commit-msg fd3d81f add links d59d035 chore(deps): update golang.org/x/build commit hash to 916311c db71549 chore(deps): update module mattn/go-shellwords to v1.0.9 17ca0e9 ci: add integration tests for subdir runs 1202338 ci: change patterns for action-languagetool 109e7e8 ci: gitlab: do not run CI on tag push 991eca9 ci: introduce https://github.com/reviewdog/action-languagetool ebccb38 clarify "added" mode includes changed lines 5d0790c client.SetBaseURL is moved to gitlab.WithBaseURL() option 122840f confirm gitlab-mr-commit behavior of -filter-mode c2069f2 debug 0dc79b3 debug 986b643 debug test data 331b8a1 debug with tee da96ca6 do not output GitHub Actions log in github service test d407f52 doc: add a document about -filter-mode f626680 doc: update document about Exit codes a261dec doghouse: Do not post annotations when it's empty 206f3b4 feat: add standardrb action 3568426 fix build c2dc82b fix export export 98b5adf fix fail-on-error handling for BulkCommentService 1badf0a fix github-pr-check subdir handling 727f986 fix langtool errors 8399e34 fix lint errors b31e8e1 fix race condition in test e47681e fix scopelint warning c956a76 fix typo 9180cf8 fix typo 1aa3a22 fix: GitLab CI MergeTrains d2fa846 fix: missing comma 9ba49f2 gerrit: do not use --relative for diff command 936e4aa gerrit: handle -filter-mode=nofilter ce95e36 github-check reporter: Deprecate OutsideDiff flag and use filter-mode=nofilter instead c2a5db3 github-check/github-pr-check is no longer experimental feature ad09838 github-check: Support sub-dir run 67a3c96 github-pr-review: support -filter-mode=nofilter f4a4b6d gitlab: add an integration test for subdir run c553e56 gitlab: do not use --relative arg 665f503 gitlab: handle -filter-mode=nofilter 9fc31ca gitlab: skip file comments 6cd4427 gitlab: support -filter-mode=[file/diff_context] 2ac6347 gitlab: use nofilter in CI 70a8a8c go tool vet and shadow option are not available c64a543 implement -filter-mode=file 4025d0f improve README about REVIEWDOG_TOKEN 0ed0fb8 log failure of normalizing path 68de24c quote env var febe095 refactoring: create commentutils to avoid cyclic imports 9b15c58 remove needless double quote 59d38c3 remove special IsPosted check for LnumDiff == 0 969ccc7 renovate: udpate renovate setting 2832b60 spelling: comment 4c53198 spelling: comments 2bcdfad spelling: console c78323e spelling: doesn't 21246cd spelling: errorformat 950a2e2 spelling: extended d2ab9ef spelling: gcloud ef09a40 spelling: generate 0fe3919 spelling: manages bf47380 spelling: request b5bf1cf spelling: reviewdog 529ff1e spelling: trusted d08fe34 test github-check reporter with -filter-mode=nofilter fe8d8ef tidy go mod 4ac3a6e typo fix 02edc7a update ShouldReport func comment as well 9b205b1 update help document about -filter-mode=file 9868168 update help document about filter-mode=nofilter bf0619f update xanzy/go-gitlab to v0.31.0 and google/go-github/v29 to v31 af52146 use -fail-on-error for github-pr-check test d492aba use warning for -filter-mode=file github-pr-check test

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(822 bytes)
    reviewdog_0.10.0_Darwin_i386.tar.gz(5.13 MB)
    reviewdog_0.10.0_Darwin_x86_64.tar.gz(5.32 MB)
    reviewdog_0.10.0_Linux_arm64.tar.gz(4.70 MB)
    reviewdog_0.10.0_Linux_armv6.tar.gz(4.78 MB)
    reviewdog_0.10.0_Linux_i386.tar.gz(4.90 MB)
    reviewdog_0.10.0_Linux_x86_64.tar.gz(5.08 MB)
    reviewdog_0.10.0_Windows_i386.tar.gz(4.82 MB)
    reviewdog_0.10.0_Windows_x86_64.tar.gz(5.01 MB)
  • v0.9.17(Jan 15, 2020)

    Changelog

    dfeff01 Add action-hadolint 2978e29 Merge pull request #436 from reviewdog/renovate/github.com-mattn-go-shellwords-1.x 48ee779 Merge pull request #438 from reviewdog/renovate/golang.org-x-net-digest 8eacebc Merge pull request #439 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 83b71ea Merge pull request #440 from reviewdog/mgrachev-patch-1 ac3d9b6 Merge pull request #441 from aslafy-z/patch-1 02ebbd6 Merge pull request #442 from reviewdog/fix-gitlab-discussion 35e45f7 Update golang.org/x/net commit hash to 6afb519 c10bf43 Update install script 99481ed Update module mattn/go-shellwords to v1.0.7 fe3bc1e Update module xanzy/go-gitlab to v0.22.3 ec5d8eb chore(docs): add reviewdog/yamllint action 6b89d3b ci(gitlab): cache go modules fde5f1c gitlab: Use go-gitlab for merge request discussion API e471388 gitlab: fix base SHA 7143371 remove reference to go-github/v28

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(822 bytes)
    reviewdog_0.9.17_Darwin_i386.tar.gz(5.05 MB)
    reviewdog_0.9.17_Darwin_x86_64.tar.gz(5.25 MB)
    reviewdog_0.9.17_Linux_arm64.tar.gz(4.62 MB)
    reviewdog_0.9.17_Linux_armv6.tar.gz(4.69 MB)
    reviewdog_0.9.17_Linux_i386.tar.gz(4.81 MB)
    reviewdog_0.9.17_Linux_x86_64.tar.gz(5.01 MB)
    reviewdog_0.9.17_Windows_i386.tar.gz(4.74 MB)
    reviewdog_0.9.17_Windows_x86_64.tar.gz(4.95 MB)
  • v0.9.16(Jan 10, 2020)

    Changelog

    4d6cdda Add action-dotenv-linter 0b2c5c7 Add instruction to create reviewdog badge 399385d Add reviewdog badge b0c2828 Merge pull request #419 from reviewdog/sponsor a3fb743 Merge pull request #420 from reviewdog/renovate/cloud.google.com-go-0.x 37b8bfe Merge pull request #421 from reviewdog/renovate/golang.org-x-oauth2-digest af406e7 Merge pull request #422 from reviewdog/renovate/github.com-google-go-cmp-0.x 05bdf49 Merge pull request #423 from reviewdog/renovate/github.com-mgechev-revive-1.x eb49973 Merge pull request #424 from reviewdog/reviewdog-badge 14cb923 Merge pull request #425 from reviewdog/refactor-reviewdog-workflow e2407f2 Merge pull request #427 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 3231b28 Merge pull request #428 from reviewdog/update-go-github 03227b8 Merge pull request #431 from reviewdog/add-action-dotenv-linter 7add3ee Merge pull request #432 from tsuyoshicho/request/redpen c0a7ccb Merge pull request #433 from reviewdog/mod-tidy ce0571f Move the reviewdog badge section d6f008f Refactor reviewdog workflow f981371 Update FUNDING.yml to add haya14busa d8a509c Update github.com/reviewdog/errorformat commit hash to 8983be9 43194e7 Update go-github from v28 to v29 c6153d9 Update go-github to v29.0.2 7a710aa Update golang.org/x/oauth2 commit hash to bf48bf1 1b9a942 Update module cloud.google.com/go to v0.51.0 c849c4b Update module google/go-cmp to v0.4.0 43cbe7b Update module mgechev/revive to v1.0.1 82c7e86 Update readme about supporting reviewdog bc4e59e add action-redpen a50e5fb add links 0b985f5 fix .goreleaser.yml 855e643 fix typo 83cf17c go mod tidy

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(822 bytes)
    reviewdog_0.9.16_Darwin_i386.tar.gz(5.05 MB)
    reviewdog_0.9.16_Darwin_x86_64.tar.gz(5.25 MB)
    reviewdog_0.9.16_Linux_arm64.tar.gz(4.62 MB)
    reviewdog_0.9.16_Linux_armv6.tar.gz(4.69 MB)
    reviewdog_0.9.16_Linux_i386.tar.gz(4.81 MB)
    reviewdog_0.9.16_Linux_x86_64.tar.gz(5.01 MB)
    reviewdog_0.9.16_Windows_i386.tar.gz(4.74 MB)
    reviewdog_0.9.16_Windows_x86_64.tar.gz(4.95 MB)
  • v0.9.15(Jan 6, 2020)

    [GitHub Action] Graceful Degradation for Pull Requests from forked repositories

    Graceful Degradation example

    GITHUB_TOKEN for Pull Requests from forked repository doesn't have write access to Check API nor Review API due to GitHub Actions restriction.

    Instead, reviewdog now uses Logging commands of GitHub Actions to post results as annotations similar to github-pr-check reporter.

    See doc for more detail.

    Running reviewdog in GitHub Actions becomes more and more OSS friendly with this release! :heart:

    New -tee option

    Enable "tee"-like mode which outputs tools' output as is while reporting results to -reporter. Useful for debugging as well.

    Changelog

    b9727b4 Add -tee option to debug tools' output c49b0f0 Add action-rubocop 231780b Add explicit logging for PR from forked repo 65bbb79 Add warning and exit with 1 for too many annotations fd0dea0 Cache Go Modules on GitHub Actions 80e27d7 Improve error message for too many annotations dba9dc3 Improve the document about github-check 5007e31 Merge branch 'master' into tee c3fc9e4 Merge pull request #366 from reviewdog/add-action-rubocop 2929b7d Merge pull request #367 from reviewdog/renovate/github.com-mgechev-revive-digest 8987a7f Merge pull request #369 from reviewdog/renovate/github.com-bradleyfalzon-ghinstallation-1.x 15f89bb Merge pull request #370 from reviewdog/renovate/github.com-mgechev-revive-digest 1c51a4d Merge pull request #371 from reviewdog/renovate/golang.org-x-oauth2-digest fe15529 Merge pull request #372 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 30f159d Merge pull request #373 from reviewdog/renovate/github.com-mgechev-revive-digest 74649d9 Merge pull request #374 from reviewdog/renovate/github.com-mgechev-revive-digest 4af93ab Merge pull request #375 from reviewdog/renovate/golang.org-x-net-digest fef05c9 Merge pull request #376 from reviewdog/renovate/github.com-mgechev-revive-digest 994548f Merge pull request #377 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 6e85201 Merge pull request #378 from reviewdog/renovate/github.com-mgechev-revive-digest 2521127 Merge pull request #379 from reviewdog/renovate/golang.org-x-net-digest d964095 Merge pull request #380 from reviewdog/renovate/github.com-mgechev-revive-digest 3503f62 Merge pull request #381 from reviewdog/renovate/golang.org-x-net-digest ff84995 Merge pull request #382 from reviewdog/renovate/github.com-mgechev-revive-digest 8a40309 Merge pull request #383 from reviewdog/renovate/golang.org-x-net-digest f8479e0 Merge pull request #384 from reviewdog/renovate/github.com-mgechev-revive-digest 1ae2d64 Merge pull request #385 from reviewdog/renovate/github.com-mgechev-revive-digest d63d639 Merge pull request #386 from reviewdog/renovate/github.com-mgechev-revive-digest ae1e2bd Merge pull request #387 from reviewdog/renovate/github.com-mgechev-revive-digest bf89b9e Merge pull request #388 from reviewdog/renovate/github.com-mgechev-revive-digest 262146b Merge pull request #389 from reviewdog/renovate/github.com-mgechev-revive-digest acb570b Merge pull request #390 from reviewdog/renovate/github.com-mgechev-revive-digest 9d24991 Merge pull request #391 from reviewdog/fix-typo 3ada62f Merge pull request #392 from reviewdog/renovate/cloud.google.com-go-0.x 0366231 Merge pull request #393 from reviewdog/renovate/github.com-mgechev-revive-digest 172c0b1 Merge pull request #394 from reviewdog/renovate/github.com-mgechev-revive-digest dee96b1 Merge pull request #395 from reviewdog/renovate/github.com-mgechev-revive-digest aa765e2 Merge pull request #396 from reviewdog/renovate/github.com-mgechev-revive-digest a8f188a Merge pull request #398 from reviewdog/renovate/github.com-mgechev-revive-digest aaebbcd Merge pull request #399 from reviewdog/renovate/github.com-mgechev-revive-digest f7d5d7a Merge pull request #400 from reviewdog/renovate/github.com-mgechev-revive-1.x 929a458 Merge pull request #401 from kbakba/patch-1 4f2c81e Merge pull request #405 from reviewdog/tee eb954a5 Merge pull request #406 from tsuyoshicho/request/add-myactions 5054322 Merge pull request #407 from reviewdog/cache c8a7517 Merge pull request #408 from reviewdog/renovate/github.com-reviewdog-errorformat-digest fc514a1 Merge pull request #412 from reviewdog/refactor c49cc7a Merge pull request #413 from review-dog/action-logging-pr-check 566cb4e Merge pull request #414 from review-dog/action-logging-pr-review 285d8a1 Merge pull request #416 from reviewdog/fix-test 6851911 Merge pull request #417 from review-dog/action-logging-check-from-fork c2c0808 Merge pull request #418 from reviewdog/doc-udpate ab1c8f7 Refactor FilteredResultMap so that it can hold report level 219a3d9 Revert "debug too many annotations" 16d1f2e Revert "debug too many errors" ea4c880 Revert "debug" 1e3510b Revert "debug" 141258b Run Go test on Pull Request too 5e1585c Run github-check on push only for master branch 4258706 Show message and Raw Output as well 24955cb Spell fix f48f9d0 Update github.com/mgechev/revive commit hash to 03a82c7 7adcd37 Update github.com/mgechev/revive commit hash to 0422c5c 0b3a379 Update github.com/mgechev/revive commit hash to 06cad11 0fcf7ef Update github.com/mgechev/revive commit hash to 1560db4 73b1c12 Update github.com/mgechev/revive commit hash to 1a15d06 d4421a8 Update github.com/mgechev/revive commit hash to 2e5c950 8bdf90f Update github.com/mgechev/revive commit hash to 5930a7e 30b5038 Update github.com/mgechev/revive commit hash to 612cfd2 7a42306 Update github.com/mgechev/revive commit hash to 7eac02b 61d7cce Update github.com/mgechev/revive commit hash to 83dc3cc f808a26 Update github.com/mgechev/revive commit hash to 89a2851 e58ad51 Update github.com/mgechev/revive commit hash to 9d5ed11 ef52e94 Update github.com/mgechev/revive commit hash to ab7c6da 6fa1660 Update github.com/mgechev/revive commit hash to ac83e84 d9fbe94 Update github.com/mgechev/revive commit hash to bc0debc 33574d7 Update github.com/mgechev/revive commit hash to c0365d5 02dcba2 Update github.com/mgechev/revive commit hash to da9e15b 5e1d781 Update github.com/mgechev/revive commit hash to dc41cf7 08e15ac Update github.com/mgechev/revive commit hash to e083807 de5fbcd Update github.com/mgechev/revive commit hash to e98997e d9faa7d Update github.com/mgechev/revive commit hash to fa51344 9fb96b5 Update github.com/reviewdog/errorformat commit hash to 5b92f81 f18aaa7 Update github.com/reviewdog/errorformat commit hash to 74f85e1 8fa6612 Update golang.org/x/net commit hash to 1ddd1de 2637851 Update golang.org/x/net commit hash to 5ee1b9f 2de0ba9 Update golang.org/x/net commit hash to c0dbc17 697ffa6 Update golang.org/x/net commit hash to e7e4b65 04f5889 Update golang.org/x/oauth2 commit hash to 858c2ad 2f2a3cc Update module bradleyfalzon/ghinstallation to v1.1.0 0388b31 Update module cloud.google.com/go to v0.50.0 365dd34 Update module mgechev/revive to v1 04b2b6e Update module xanzy/go-gitlab to v0.22.2 3c00f06 add tsuyoshicho's actions 2ccc63e avoid using magic number efb7e58 ci: Disable Go Problem Matchers 05aeed4 ci: Run github-check reporter on pull_request too af8dc00 ci: run github-pr-review with latest changes too c394ed2 debug a3a7cba debug a7c4764 debug too many annotations 74a1617 debug too many errors 4d5863e doc: Graceful Degradataion for Pull Requests from forked repositories ddb7359 fix and add tests 3872145 fix test 157c5fb fix test only in PR from forked repo 1295e1e fix typos b1b75e7 github-check: check results is in diff or outside of diff as much as possible a813a6d github-pr-check: Use logging commands of GitHub Actions as Graceful degradation for Pull Request from forked repository 2238fbd github-pr-review: Use logging commands of GitHub Actions as Graceful degradation for Pull Request from forked repository 4110505 improve status handling and do not exit with 0 if level is warning or info 6e8e1ea kick CI 09d10f0 lint fix a27440b lint fix e808269 run reviewdog with tee 7ece392 tweak 6d3a0f9 update github-pr-review and github-pr-check sections as well 4fb50f6 use camelCase

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(410 bytes)
    reviewdog_0.9.15_Darwin_i386.tar.gz(4.94 MB)
    reviewdog_0.9.15_Darwin_x86_64.tar.gz(5.14 MB)
    reviewdog_0.9.15_Linux_i386.tar.gz(4.71 MB)
    reviewdog_0.9.15_Linux_x86_64.tar.gz(4.90 MB)
  • v0.9.14(Dec 1, 2019)

    New reporter (-reporter=github-check)

    It's basically same as -reporter=github-pr-check except it works not only for Pull Request but also for commit. Also, it reports results outside Pull Request diff too.

    sample comment outside diff

    Fix support for too many annotations (-reporter=github-pr-review,github-pr-check)

    Now reviewdog works well with too many annotations (like 50+ annotations).

    Changelog

    09e366a .reviewdog.yml: use warning level for errcheck,revive,golagnci 010a353 Add 'set +o pipefail' a99e92e Add GitHub Actions badge c766996 Add a link to Marketplace f9b30cf Add an article about GitHub Actions integration 1629231 Add docuemnt for github-check reporter 2e35779 Add example link for creating reviewdog GitHub Actions 5340ace Add https://github.com/reviewdog/action-shellcheck eb4cf23 Add https://github.com/reviewdog/action-stylelint 22ef718 Add link to GitHub Actions page 09286c5 Add misspell action dde68ca Add on: push GitHub Actions workflow and run reviewdog with -reporter=github-check bf55b11 Add reviewdog/action-eslint 75ce74c Add reviewdog/action-misspell to README 43561fe Add reviewdog/action-vint 3b4056b Adds wemake-python-styleguide 31b7db5 Clean up code dc2166d Create FUNDING.yml 9480036 Delete unused parameters. d70c5a9 Do not set CreateCheckRunOptions.HeadBranch 6983ba1 Dump GitHub Context in on push workflow b0d83cc Fill in title and summary 66cd989 Fix opencollective link a1660a5 Fix typo e715059 Fix typo 6dafb69 Fix typo. Thanks misspell! bcaa694 Fix typos. 2d7e23e Implement new reporter: github-check 77f767a Improve document about reviewdog setup 79dcb9c Introduce reviewdog/action-golangci-lint 7942ea5 Introduce reviewdog/action-shellcheck 060879d Mention reviewdog/action-tflint in README 0138713 Merge pull request #292 from reviewdog/update-doc 509a53a Merge pull request #293 from reviewdog/introduce-action-golangci-lint 8f033c3 Merge pull request #294 from reviewdog/action-doc 434ad95 Merge pull request #295 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 69af7f8 Merge pull request #296 from reviewdog/improve-setup-reviewdog e9846ae Merge pull request #297 from reviewdog/action-test b2e148b Merge pull request #298 from reviewdog/brew-doc 8e39390 Merge pull request #299 from reviewdog/action-misspell 265c5d5 Merge pull request #301 from reviewdog/add-article 9e0489d Merge pull request #302 from reviewdog/renovate/golang.org-x-net-digest 008a26f Merge pull request #304 from reviewdog/renovate/github.com-mgechev-revive-digest e25041f Merge pull request #305 from reviewdog/renovate/mvdan.cc-unparam-digest d1fdc0f Merge pull request #308 from reviewdog/renovate/github.com-reviewdog-errorformat-digest b61b258 Merge pull request #309 from shopetan/master 1d6a3c8 Merge pull request #312 from reviewdog/arnottcr-go112 e0ea865 Merge pull request #314 from reviewdog/fix-go112 22b611d Merge pull request #315 from reviewdog/fix-circleci 7733d45 Merge pull request #317 from reviewdog/fix-travis 65220f9 Merge pull request #318 from reviewdog/readme-efm-playground 6b2b3c5 Merge pull request #319 from reviewdog/add-action-stylelint df28470 Merge pull request #320 from reviewdog/action-vint 7508115 Merge pull request #321 from reviewdog/action-eslint 9218198 Merge pull request #323 from reviewdog/action-shellcheck 388dcbe Merge pull request #324 from reviewdog/add-action-shellcheck 72e9bb1 Merge pull request #325 from reviewdog/add-tflint 9759395 Merge pull request #327 from reviewdog/needless-branch c3a0a3e Merge pull request #328 from reviewdog/check-limit 95ccf8d Merge pull request #330 from reviewdog/remainig-as-summary 456d77b Merge pull request #331 from reviewdog/golangci-warn b7ebbbc Merge pull request #333 from reviewdog/github-check-reporter 81f21e9 Merge pull request #334 from reviewdog/fix-check-name dbcfe58 Merge pull request #337 from reviewdog/renovate/gopkg.in-yaml.v2-2.x 8b17c72 Merge pull request #338 from reviewdog/renovate/golang.org-x-lint-digest 6608494 Merge pull request #339 from i-sevostyanov/cleanup 9deb7b8 Merge pull request #340 from mgrachev/cleanup-code 9704772 Merge pull request #341 from reviewdog/change-level 766c7d5 Merge pull request #342 from reviewdog/renovate/cloud.google.com-go-0.x de12753 Merge pull request #344 from ruudk/patch-1 058da20 Merge pull request #346 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 35d3577 Merge pull request #351 from reviewdog/renovate/github.com-justinas-nosurf-1.x 3367e88 Merge pull request #352 from ruudk/patch-1 4a85fae Merge pull request #358 from reviewdog/renovate/golang.org-x-oauth2-digest 7c54052 Merge pull request #361 from sobolevn/patch-1 45d5832 Merge pull request #362 from Streppel/bugfix/359 be7015d Merge pull request #363 from reviewdog/renovate/github.com-reviewdog-errorformat-digest d8bd0bc Merge pull request #364 from reviewdog/tweak-github-check ad98420 Merge pull request #365 from reviewdog/github-check-doc 4de9dbc Nil slice declaration. af0a9cb Redudant import alias. 1cf1421 Redudant type conversion. 0a813bb Redundant parentheses. f97a4e3 Remove debug code 86f47d1 Remove loginc from /_ah/warmup as go112 doesn't support it 58502b9 Remove needless GetPullRequest from interface 8c51c2e Remove redundant words from README 9d4d010 Remove variable from struct of github.CheckRunAnnotation 6f823e9 Remove variable from struct of github.CheckRunAnnotation 2989191 Revert "debug: add test code to test reviewdog" 9411005 Revert debug code 29ec8d5 Run Go Test on GitHub Actions 1a9cc54 Sort imports. 4e78a95 Support more than 50 annotations 83d1113 Update README to mention public github actions 54b2cfd Update REAME to mension the errorformat playground 8ad5124 Update document about GitHub Actions platform 035d4b9 Update github.com/mgechev/revive commit hash to 88015cc eb4553c Update github.com/reviewdog/errorformat commit hash to 041eefc 8a05cae Update github.com/reviewdog/errorformat commit hash to 85eb1c3 692d3d2 Update github.com/reviewdog/errorformat commit hash to 8ffc512 c9df2f4 Update golang.org/x/lint commit hash to fdd1cda e62accd Update golang.org/x/net commit hash to ef20fe5 a2d3671 Update golang.org/x/oauth2 commit hash to 5d9234d 3994ae9 Update module cloud.google.com/go to v0.49.0 1cec8ec Update module justinas/nosurf to v1 d1a87a0 Update module xanzy/go-gitlab to v0.22.1 b86b27e Update module yaml to v2.2.7 75ec5e1 Update mvdan.cc/unparam commit hash to 960b1ec e84c9f7 Use %f|%l col %c| as basic format to avoid emoji rendering 44d981d add sudo 711f8a9 chagne tool name for golint with reviewdog on push 85a2d30 cienv: support on push GitHub Actions workflow c840bb2 circleci: do not use || true 4aa17de debug: add test code 892822e debug: add test code to test reviewdog c8b8567 doghouse: Do not pass nil TransactionOption e0ab5a3 doghouse: Find installation from GitHub API and fix nil ptr exception a9215ff doghouse: Use "Forwarded" header 28b0006 doghouse: rm app_dev.yaml which is no longer used ffb49eb doghouse: use different http client to find Installation ID 044a97f fix test on GitHub Actions 0b0cab9 fixes #359 90b1c0a github-check: disable filtering for pull-request 35f495b github-pr-check: always fill check run name 221fb2e github-pr-check: fix missing name eba86ca github-pr-review: add simple test for summary text 6bce37f github-pr-review: remove abuse from a summary comment 3fd1a39 github-pr-review: use

    tag for summary 557b9c4 github-pr-review: use review summary comments for too many annotations ebce3fb githubutils: add tests ee0bba3 install reviewdog to $HOME/bin d04d2a8 linuxbrew is also supported 52ef9ae rename workflow to distinguish on pull-request and on push workflow 9c89257 s/reviewdog-/reviewdog/ 395e2ee sunset google.golang.org/appengine module dfdc789 travis: fix installation of linters 269fcdb try ::add-path 08be12c try to install reviwedog to /usr/local/bin e966afd tweak English ba13201 tweak name d2c378b typo 0cf8681 use golangci with warning level 027992d use golint as warning

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(410 bytes)
    reviewdog_0.9.14_Darwin_i386.tar.gz(4.92 MB)
    reviewdog_0.9.14_Darwin_x86_64.tar.gz(5.13 MB)
    reviewdog_0.9.14_Linux_i386.tar.gz(4.70 MB)
    reviewdog_0.9.14_Linux_x86_64.tar.gz(4.89 MB)
  • v0.9.13(Sep 15, 2019)

    Support -reporter=github-pr-check on GitHub Actions

    github-pr-check sample annotation with option 1

    Now, you can use -reporter=github-pr-check on GitHub Actions without installing reviewdog GitHub App! doc

    on: [pull_request]
    jobs:
      reviewdog:
        name: reviewdog
        runs-on: ubuntu-latest
        steps:
          # ...
          - name: Run reviewdog
            env:
              REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
            run: |
              golint ./... | reviewdog -f=golint -reporter=github-pr-check
    

    -runners flag to run only specified runners in reviewdog config file.

    $ reviewdog -diff="git diff master" -runners=golint,govet
    

    -level flag and level field in config file to change report level for github-pr-check reporter

    You can change report level for this github-pr-check reporter by level field in config file or -level flag. You can control GitHub status check result with this feature. (default: error)

    | Level | GitHub Status | | --------- | ------------- | | info | neutral | | warning | neutral | | error | failure |

    runner:
      golint:
        cmd: golint ./...
        errorformat:
          - "%f:%l:%c: %m"
        level: warning
      govet:
        cmd: go tool vet -all -shadowstrict .
    

    -guess flag

    If a CI service doesn't provide information such as Pull Request ID - reviewdog can guess it by branch name and commit SHA. Just pass the flag guess:

    $ reviewdog -conf=.reviewdog.yml -reporter=github-pr-check -guess
    

    Changelog

    265ed56 Add a sample image for github-pr-check reporter on GitHub Actions d001fef Add an example image for github-pr-check on GitHub Action from forked repo 981f7f6 Add installation instruction by homebrew 639aac3 Add more error context ec762c1 Add onetime backer image too 532f5c6 Add renovate.json b5c8762 Always update Travis IP addresses before checking ae311cd Change report level for reviewdog on GitHub Actions 4160c1b Check only when token is not present e5ba4b1 Do not re-use context after errgroup.WithContext fe4e46c Do not run GitLab CI for master branch 88360e3 Dump GitHub Context f9c043e Dump GitHub Event 2a2047d Fix GitHub event data 2ccd46a Fix isPr b7d2c93 Fix links 6cce5b3 Fix more typos. Thank you, @php-coder! 3f5ca42 Get Pull Request ID by branch name or commit hash 2f86f4d Implement -runners flag to specify which runners to run in conf file 04044d3 Introduce GitHub Actions for Go build f2a84e3 Introduce reviewdog on GitHub Action 0476178 Merge branch 'master' into bumpup_go-github 4361d2a Merge pull request #190 from mgrachev/feature/get-pull-request-id 5b48d1f Merge pull request #218 from reviewdog/tap-install c067ff0 Merge pull request #220 from reviewdog/update 75d25d2 Merge pull request #222 from ques0942/bumpup_go-github 03b5291 Merge pull request #224 from shogo82148/workaround-for-honnef.co-go-tools 7670e22 Merge pull request #227 from Code-Hex/master 449ea40 Merge pull request #228 from reviewdog/fix-gitlab 6141be1 Merge pull request #229 from reviewdog/renovate/configure 48fe9aa Merge pull request #230 from reviewdog/renovate/pin-dependencies bd8bdf8 Merge pull request #231 from reviewdog/renovate/golang.org-x-tools-digest eb365fd Merge pull request #232 from reviewdog/renovate-config b16b9cc Merge pull request #233 from reviewdog/renovate/github.com-reviewdog-errorformat-digest 21aa6e0 Merge pull request #236 from reviewdog/renovate/github.com-xanzy-go-gitlab-0.x 304919c Merge pull request #237 from reviewdog/renovate/textlint-11.x 428a8ae Merge pull request #238 from reviewdog/renovate/github.com-kylelemons-godebug-1.x 788b92f Merge pull request #248 from reviewdog/renovate/textlint-rule-no-dead-link-4.x fb17299 Merge pull request #250 from reviewdog/renovate/github.com-google-go-cmp-0.x 99fb028 Merge pull request #251 from shogo82148/lock-npm-pakcage 39fc104 Merge pull request #252 from shogo82148/go-mod-tidy 161973a Merge pull request #259 from reviewdog/renovate/github.com-google-go-github-v27-28.x dff1fc5 Merge pull request #262 from reviewdog/renovate/docker-circleci-golang-1.x 494112b Merge pull request #264 from Attsun1031/fix-typo 56b6bc1 Merge pull request #265 from arnottcr/modup d261e1d Merge pull request #267 from reviewdog/renovate/github.com-google-go-github-v28-28.x 430d5c5 Merge pull request #268 from reviewdog/renovate/golang.org-x-net-digest 098875c Merge pull request #270 from reviewdog/renovate/golang.org-x-sync-digest 6bcf94c Merge pull request #271 from reviewdog/haya14busa-patch-2 599674d Merge pull request #273 from reviewdog/reviewdog-on-github-actions 5a7a040 Merge pull request #275 from reviewdog/check-action 946b3e5 Merge pull request #281 from review-dog/support-fork-pr d12f712 Merge pull request #282 from reviewdog/update-travis-ip d5ce8c9 Merge pull request #283 from reviewdog/runners 9078b65 Merge pull request #284 from reviewdog/update-linter-mod ce0cffd Merge pull request #285 from reviewdog/go1.13 b8b3a24 Merge pull request #286 from reviewdog/github-actions-env e9c80d8 Merge pull request #287 from reviewdog/change-conclusion e991bfd Merge pull request #288 from reviewdog/renovate/golang.org-x-tools-digest 9af031c Merge pull request #289 from reviewdog/fix-gitlab-ci-master-build 0548fd7 Merge pull request #290 from reviewdog/fix-renovate-pin-cofig 2bf4e59 Merge pull request #291 from reviewdog/tidy bed8b3b Move renovate config file under .github dir 311f75f Pin dependencies bd64b4e Propagate level for project run for github-pr-check 13f6bf8 Remove CI_* envs from GitHub Actions config 53ee847 Remove needless CI_REPOSITORY 19f4207 Remove needless go get aaecd27 Rename report level to just "level" 69b80b9 Report results to stdout when Check API is not avaialble especially for GitHub Actions a3f95bb Report the # of results outside diff c8b2bbb Return error for empty response and add tests 12bc24a Specify github-pr-check-action for GitHub Action reviewdog config 385b10a Specify govet runner to for GitHub Actions 069af87 Stop using named return 011e861 Support Check API w/o Doghouse using GitHub Action token 0b61b62 Support GitHub Actions Environment c4be39a Support changing report level for github-pr-check reporter b6d18a9 Support re-run event 4e03c65 Support specifying report level from config file cfad248 Update README for -runners flag e81d719 Update circleci/golang Docker tag to v1.13 a578fca Update dependencies 6043589 Update dependencies 6be7b28 Update dependencies e5ae743 Update dependency textlint to v11 92ac2a8 Update dependency textlint-rule-no-dead-link to v4.4.4 1a06e5e Update document for level feature 2441f6a Update documents b22dcda Update errorformat 7f6b9d4 Update github.com/reviewdog/errorformat commit hash to b91f67e 20f1b5a Update golang.org/x/net commit hash to 24e19bd 292d29a Update golang.org/x/sync commit hash to cd5d95a 9d8fc9b Update golang.org/x/tools commit hash to 31e00f4 a2144ed Update golang.org/x/tools commit hash to 919acb9 e128d22 Update linter/go.mod b6720f0 Update module google/go-cmp to v0.3.1 d8c8b37 Update module google/go-github/v27 to v28 c059224 Update module google/go-github/v28 to v28.1.1 0bd627f Update module kylelemons/godebug to v1 102577d Update module xanzy/go-gitlab to v0.19.0 0f9e6ac Use ++ (report example) b600e7a Use -level=info for textlint 38709e7 Use -runners=golint for GitHub Actions db9143a Use :preserveSemverRanges for renovate bot cb23119 Use Go 1.13 c71c0ee Use github-pr-check reporter for GitHub Action flow too 2e8574b Use github.event.pull_request.head.sha as CI_COMMIT 7e5c5ad Use level in config file 644da56 Use neutral as default conclusion for Check API 25a455a Write document for github-pr-check reporter on GitHub Actions 856a5c2 add comment to IsInGitHubAction 337caca add go.mod and go.sum for CI tools 8402625 fix tests babf2b4 fix typo 5ec34d1 fix typo 63a853d fixup go.mod and go-github usage 04adf80 gitlab: Set GO111MODULE=on 202da5d gitlab: run only golint 418c8b5 go mod tidy 64d6ec9 lock the version of npm packages dbf0ebc simplify code cd486af tweak README ca97eed unused and gosimple are deprecated 2257fd7 update dependencies and go mod tidy ff2f920 upgrade module dependencies, remove indirects ba14be4 workaround for failing honnef.co/go/tools install

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(410 bytes)
    reviewdog_0.9.13_Darwin_i386.tar.gz(4.08 MB)
    reviewdog_0.9.13_Darwin_x86_64.tar.gz(4.24 MB)
    reviewdog_0.9.13_Linux_i386.tar.gz(3.89 MB)
    reviewdog_0.9.13_Linux_x86_64.tar.gz(4.04 MB)
  • v0.9.12(Apr 12, 2019)

    This release contains a few bug fixes and from this release, the installation method changed.

    Example:

    # Specify installation directory ($(go env GOPATH)/bin/) and version.
    $ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $(go env GOPATH)/bin [vX.Y.Z]
    

    Also, we moved the repository under reviewdog organization and looking for maintainers (#196). This release contains a few improvement of workflow for org development, like deploy automation of doghouse server.

    Source code(tar.gz)
    Source code(zip)
    checksums.txt(410 bytes)
    reviewdog_0.9.12_Darwin_i386.tar.gz(2.55 MB)
    reviewdog_0.9.12_Darwin_x86_64.tar.gz(2.67 MB)
    reviewdog_0.9.12_Linux_i386.tar.gz(2.43 MB)
    reviewdog_0.9.12_Linux_x86_64.tar.gz(2.55 MB)
  • 0.9.11(Jul 23, 2018)

    0.9.11 (2018-07-23)

    Bug fixes

    • gitlab-mr-discussion: Fix bot could not comment on the merge request created by others #180 (okonomi)

    Merged Pull Requests

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(6.81 MB)
    reviewdog_darwin_amd64(7.78 MB)
    reviewdog_freebsd_386(6.83 MB)
    reviewdog_freebsd_amd64(7.83 MB)
    reviewdog_freebsd_arm(6.96 MB)
    reviewdog_linux_386(6.84 MB)
    reviewdog_linux_amd64(7.86 MB)
    reviewdog_linux_arm(6.89 MB)
    reviewdog_netbsd_386(6.82 MB)
    reviewdog_netbsd_amd64(7.82 MB)
    reviewdog_netbsd_arm(6.96 MB)
    reviewdog_openbsd_386(6.82 MB)
    reviewdog_openbsd_amd64(7.84 MB)
    reviewdog_windows_386.exe(6.72 MB)
    reviewdog_windows_amd64.exe(7.66 MB)
    source.zip(7.43 MB)
  • 0.9.10(Jun 24, 2018)

    0.9.10 (2018-06-24)

    New features: GitLab support! ๐ŸŽ‰

    reviewdog meets gitlab

    gitlab-mr-discussion sample

    Added -reporter=gitlab-mr-discussion and -reporter=gitlab-mr-commit options.

    $ export REVIEWDOG_GITLAB_API_TOKEN="<token>"
    $ export GITLAB_API="https://example.gitlab.com/api/v4"
    $ reviewdog -reporter=gitlab-mr-discussion
    

    GitLab CI is also supported.

    GitLab CI

    Store REVIEWDOG_GITLAB_API_TOKEN in GitLab CI variable.

    .gitlab-ci.yml sample

    reviwedog:
      script:
        - reviewdog -reporter=gitlab-mr-discussion
        # Or
        - reviewdog -reporter=gitlab-mr-commit
    

    Special thanks

    GitLab support (-reporter=gitlab-mr-commit) is implemenbed by @nakatanakatana and @masamotod :+1:

    Bug Fixes

    • github-pr-review: support pagination to get all posted comments #168 (haya14busa)

    Merged Pull Requests:

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(6.80 MB)
    reviewdog_darwin_amd64(7.78 MB)
    reviewdog_freebsd_386(6.82 MB)
    reviewdog_freebsd_amd64(7.83 MB)
    reviewdog_freebsd_arm(6.96 MB)
    reviewdog_linux_386(6.83 MB)
    reviewdog_linux_amd64(7.86 MB)
    reviewdog_linux_arm(6.89 MB)
    reviewdog_netbsd_386(6.81 MB)
    reviewdog_netbsd_amd64(7.82 MB)
    reviewdog_netbsd_arm(6.96 MB)
    reviewdog_openbsd_386(6.82 MB)
    reviewdog_openbsd_amd64(7.84 MB)
    reviewdog_windows_386.exe(6.72 MB)
    reviewdog_windows_amd64.exe(7.66 MB)
    source.zip(7.06 MB)
  • 0.9.9(Jun 4, 2018)

    0.9.9 (2018-06-04)

    New features:

    reviewdog with GitHub Checks feature. https://help.github.com/articles/about-status-checks/#checks

    github-pr-check sample comment in pull-request commit status

    1. Install reviedog Apps. https://github.com/apps/reviewdog
    2. Set REVIEWDOG_TOKEN or run reviewdog CLI in trusted CI providers.
    • Get token from https://reviewdog.app/gh/{owner}/{repo-name}.
    • $ export REVIEWDOG_TOKEN="xxxxx"
    1. $ reviewdog -conf=.reviewdog.yml -reporter=github-pr-check

    Breaking changes:

    Deprecate -ci flag #132. Use -reporter flag instead. Example:

    $ reviewdog -ci=travis
    =>
    $ reviewdog -reporter=github-pr-review
    

    Merged Pull Requests:

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(6.55 MB)
    reviewdog_darwin_amd64(7.52 MB)
    reviewdog_freebsd_386(6.57 MB)
    reviewdog_freebsd_amd64(7.57 MB)
    reviewdog_freebsd_arm(6.69 MB)
    reviewdog_linux_386(6.58 MB)
    reviewdog_linux_amd64(7.60 MB)
    reviewdog_linux_arm(6.69 MB)
    reviewdog_netbsd_386(6.55 MB)
    reviewdog_netbsd_amd64(7.55 MB)
    reviewdog_netbsd_arm(6.69 MB)
    reviewdog_openbsd_386(6.57 MB)
    reviewdog_openbsd_amd64(7.58 MB)
    reviewdog_windows_386.exe(6.46 MB)
    reviewdog_windows_amd64.exe(7.40 MB)
    source.zip(2.70 MB)
  • 0.9.7(Aug 10, 2017)

    0.9.7 (2017-08-09)

    GitHub & GitHub Enterprise Support:

    As of version 0.9.7, reviewdog completely switched to use new Pull Reqeust Review Comments API including GitHub Enterprise. If your GitHub Enterprise version is too low to use this new API, please use reviewdog version < 0.9.7

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(5.67 MB)
    reviewdog_darwin_amd64(6.84 MB)
    reviewdog_freebsd_386(5.69 MB)
    reviewdog_freebsd_amd64(6.89 MB)
    reviewdog_freebsd_arm(5.91 MB)
    reviewdog_linux_386(5.68 MB)
    reviewdog_linux_amd64(6.91 MB)
    reviewdog_linux_arm(5.91 MB)
    reviewdog_netbsd_386(5.68 MB)
    reviewdog_netbsd_amd64(6.87 MB)
    reviewdog_netbsd_arm(5.91 MB)
    reviewdog_openbsd_386(5.99 MB)
    reviewdog_openbsd_amd64(6.91 MB)
    reviewdog_windows_386.exe(5.66 MB)
    reviewdog_windows_amd64.exe(6.92 MB)
    source.zip(2.60 MB)
  • 0.9.6(Mar 1, 2017)

    0.9.6 (2017-03-02)

    Support running reviewdog in sub directory for CI (Supported GitHub & GitHub Enterprise)

    e.g.

    cd sub/dir && golint . | reviewdog -f=golint -ci=circleci
    
    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(5.82 MB)
    reviewdog_darwin_amd64(6.75 MB)
    reviewdog_freebsd_386(5.88 MB)
    reviewdog_freebsd_amd64(6.84 MB)
    reviewdog_freebsd_arm(6.05 MB)
    reviewdog_linux_386(5.86 MB)
    reviewdog_linux_amd64(6.86 MB)
    reviewdog_linux_arm(6.00 MB)
    reviewdog_netbsd_386(5.86 MB)
    reviewdog_netbsd_amd64(6.83 MB)
    reviewdog_netbsd_arm(6.03 MB)
    reviewdog_openbsd_386(5.88 MB)
    reviewdog_openbsd_amd64(6.86 MB)
    reviewdog_windows_386.exe(5.80 MB)
    reviewdog_windows_amd64.exe(6.72 MB)
    source.zip(2.37 MB)
  • 0.9.4(Dec 16, 2016)

    GitHub Review API support https://developer.github.com/changes/2016-12-14-reviews-api/

    image

    It's experimental because GitHub Preview Pull Request Reviews API itself is in preview period. reviewdog will also take more advantage of review API later. see #58

    0.9.4 (2016-12-16)

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(5.80 MB)
    reviewdog_darwin_amd64(6.73 MB)
    reviewdog_freebsd_386(5.85 MB)
    reviewdog_freebsd_amd64(6.81 MB)
    reviewdog_freebsd_arm(6.03 MB)
    reviewdog_linux_386(5.83 MB)
    reviewdog_linux_amd64(6.84 MB)
    reviewdog_linux_arm(5.98 MB)
    reviewdog_netbsd_386(5.84 MB)
    reviewdog_netbsd_amd64(6.80 MB)
    reviewdog_netbsd_arm(6.01 MB)
    reviewdog_openbsd_386(5.86 MB)
    reviewdog_openbsd_amd64(6.83 MB)
    reviewdog_windows_386.exe(5.78 MB)
    reviewdog_windows_amd64.exe(6.69 MB)
    source.zip(13.33 MB)
  • 0.9.3(Dec 15, 2016)

    Introduce (experimental) Project Config Based Run (reviewdog.yml)

    Project Configuration Based Run

    [experimental]

    reviewdog can also be controlled via the reviewdog.yml configuration file instead of "-f" or "-efm" arguments.

    With reviewdog.yml, you can run the same commands both CI service and local environment including editor intergration with ease.

    reviewdog.yml

    runner:
      <tool-name>:
        cmd: <command> # (required)
        errorformat: # (optional if there is supporeted format for <tool-name>. see reviewdog -list)
          - <list of errorformat>
        name: <tool-name> # (optional. you can overwrite <tool-name> defined by runner key)
    
      # examples
      golint:
        cmd: golint ./...
        errorformat:
          - "%f:%l:%c: %m"
      govet:
        cmd: go tool vet -all -shadowstrict .
    
    $ reviewdog -diff="git diff master"
    project/run_test.go:61:28: [golint] error strings should not end with punctuation
    project/run.go:57:18: [errcheck]        defer os.Setenv(name, os.Getenv(name))
    project/run.go:58:12: [errcheck]        os.Setenv(name, "")
    # You can use -conf to specify config file path.
    $ reviewdog -ci=droneio -conf=./reviewdog.yml
    

    Output format for project config based run is one of following formats.

    • <file>: [<tool name>] <message>
    • <file>:<lnum>: [<tool name>] <message>
    • <file>:<lnum>:<col>: [<tool name>] <message>

    0.9.3 (2016-12-15)

    Source code(tar.gz)
    Source code(zip)
    reviewdog_darwin_386(5.71 MB)
    reviewdog_darwin_amd64(6.63 MB)
    reviewdog_freebsd_386(5.76 MB)
    reviewdog_freebsd_amd64(6.72 MB)
    reviewdog_freebsd_arm(5.93 MB)
    reviewdog_linux_386(5.74 MB)
    reviewdog_linux_amd64(6.74 MB)
    reviewdog_linux_arm(5.88 MB)
    reviewdog_netbsd_386(5.74 MB)
    reviewdog_netbsd_amd64(6.70 MB)
    reviewdog_netbsd_arm(5.92 MB)
    reviewdog_openbsd_386(5.77 MB)
    reviewdog_openbsd_amd64(6.73 MB)
    reviewdog_windows_386.exe(5.69 MB)
    reviewdog_windows_amd64.exe(6.60 MB)
A Golang tool that does static analysis, unit testing, code review and generate code quality report.

goreporter A Golang tool that does static analysis, unit testing, code review and generate code quality report. This is a tool that concurrently runs

360 Enterprise Security Group, Endpoint Security, inc. 2.9k Nov 30, 2021
a simple golang SSA viewer tool use for code analysis or make a linter

ssaviewer A simple golang SSA viewer tool use for code analysis or make a linter ssa.html generate code modify from src/cmd/compile/internal/ssa/html.

null 5 Sep 18, 2021
This static analysis tool works to ensure your program's data flow does not spill beyond its banks.

Go Flow Levee This static analysis tool works to ensure your program's data flow does not spill beyond its banks. An input program's data flow is expl

Google 107 Nov 12, 2021
Analyzer: zapvet is static analysis tool for zap

zapvet zapvet is static analysis tool for zap. fieldtype: fieldtype finds confliction type of field Install You can get zapvet by go install command (

GoStaticAnalysis 4 Aug 12, 2021
Retnilnil is a static analysis tool to detect `return nil, nil`

retnilnil retnilnil is a static analysis tool for Golang that detects return nil, nil in functions with (*T, error) as the return type. func f() (*T,

neglect-yp 2 Oct 8, 2021
octocov is a tool for collecting code metrics (code coverage, code to test ratio and test execution time).

octocov is a tool for collecting code metrics (code coverage, code to test ratio and test execution time).

Kenโ€™ichiro Oyama 37 Nov 27, 2021
[mirror] Performance measurement, storage, and analysis.

Go performance measurement, storage, and analysis tools This subrepository holds the source for various packages and tools related to performance meas

Go 280 Nov 22, 2021
GoKart - Go Security Static Analysis

GoKart is a static analysis tool for Go that finds vulnerabilities using the SSA (single static assignment) form of Go source code.

Praetorian 1.8k Nov 29, 2021
Detect non-inclusive language in your source code.

Detect non-inclusive language in your source code. I stay woke - Erykah Badu Creating an inclusive work environment is imperative to a healthy, suppor

woke 293 Nov 27, 2021
The most opinionated Go source code linter for code audit.

go-critic Highly extensible Go source code linter providing checks currently missing from other linters. There is never too much static code analysis.

null 1.2k Dec 3, 2021
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

Sloc Cloc and Code (scc) A tool similar to cloc, sloccount and tokei. For counting physical the lines of code, blank lines, comment lines, and physica

Ben Boyter 2.9k Nov 30, 2021
a tool for code clone detection

dupl dupl is a tool written in Go for finding code clones. So far it can find clones only in the Go source files. The method uses suffix tree for seri

Michal Bohuslรกvek 263 Nov 26, 2021
depth is tool to retrieve and visualize Go source code dependency trees.

depth is tool to retrieve and visualize Go source code dependency trees. Install Download the appropriate binary for your platform from the Rele

Kyle Banks 655 Nov 30, 2021
Tool to populate your code with traceable and secure error codes

Essential part of any project, especially customer facing is proper and secure error handling. When error happens and customer reports it, it would be nice to know the context of the error and where it exactly occured.

vs 52 Nov 9, 2021
Refactoring and code transformation tool for Go.

gopatch is a tool to match and transform Go code. It is meant to aid in refactoring and restyling.

Uber Go 393 Nov 22, 2021
[mirror] This is a linter for Go source code.

Golint is a linter for Go source code. Installation Golint requires a supported release of Go. go get -u golang.org/x/lint/golint To find out where g

Go 3.9k Dec 4, 2021
Run linters from Go code -

Lint - run linters from Go Lint makes it easy to run linters from Go code. This allows lint checks to be part of a regular go build + go test workflow

Surul Software Labs GmbH 65 Nov 22, 2021
A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.

A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.

Lasse Martin Jakobsen 1.9k Nov 30, 2021