Hi I am using the following config to run reviewDog for adding comments on my PR:
.....
- name: Set up golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
- name: Set up reviewdog
uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run golangci-lint
run: |
BASE_REF=$(git merge-base origin/develop HEAD)
echo "BASE_REF: $BASE_REF"
echo "Running golangci-lint from revision $BASE_REF..."
$(go env GOPATH)/bin/golangci-lint run -v --verbose --config=.github/.golangci.yml --new-from-rev=$BASE_REF --allow-parallel-runners 2>&1 | tee golangci-lint.log
continue-on-error: true
- name: Display golangci-lint log
run: |
cat golangci-lint.log
- name: Run golangci-lint with reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }}
run: |
cat golangci-lint.log | reviewdog -f=golangci-lint -reporter=github-pr-review -fail-on-error=false
.......
The reporter github-pr-review is not commenting on my PRs although it is adding annotations.
Can I please get help in this regard, thanks!
Hi I am using the following config to run reviewDog for adding comments on my PR:
The reporter
github-pr-reviewis not commenting on my PRs although it is adding annotations.Can I please get help in this regard, thanks!