Skip to content

Prettier ignores prettier_flags when using github-pr-review #37

@paulvanbrenk

Description

@paulvanbrenk

This is how I configured the action in my workflow file

      - uses: EPMatt/reviewdog-action-prettier@v1
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review # add comments in the review
          level: warning # [info,warning,error]
          prettier_flags: '**/*.{js,ts,tsx,md,json}'

However in the log from the github action I see the following:

image

And I get suggestions for changes in the yarn.lock file.

Any ideas?

edit: created a repo to show the issue. You can see the errors reported in the logs for the workflow for this PR

https://github.com/paulvanbrenk/prettier-action/pull/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    status - waiting for feedbackWaiting for additional feedback from people involved in the issue / pull request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions