Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporter reports only one message #36

Open
naivekook opened this issue Feb 22, 2023 · 1 comment
Open

Reporter reports only one message #36

naivekook opened this issue Feb 22, 2023 · 1 comment

Comments

@naivekook
Copy link

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:
Screenshot 2023-02-22 at 10 14 51

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

@ghaiszaher
Copy link
Member

ghaiszaher commented Feb 26, 2023

@naivekook could you provide a full example to reproduce? I tried your example and it looks alright to me ghaiszaher/ktlint-issue-test#1 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants