action-ktlint
action-ktlint copied to clipboard
Reporter reports only one message
Hi! I faced the problem that in output I have a lot of error messages but GitHub bot reports only one. I'm expecting that if I have 50 ktlint errors it will see 50 PR comments.
Part of output:
GA workflow:
name: Code Review Workflow
on: [pull_request]
jobs:
ktlint:
name: Check Code Style
runs-on: [self-hosted, nonroot]
steps:
- uses: actions/checkout@v3
- uses: ScaCap/action-ktlint@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
fail_on_error: true
filter_mode: file
@naivekook could you provide a full example to reproduce? I tried your example and it looks alright to me https://github.com/ghaiszaher/ktlint-issue-test/pull/1#pullrequestreview-1314692154