reviewdog / action-markdownlint

Run markdownlint with reviewdog
MIT License
21 stars 12 forks source link

fix/multiple markdownlint parameters #17

Closed oscar-dominguez closed 3 years ago

oscar-dominguez commented 3 years ago

If you try to add multiple flags in the _markdownlintflags the actions fails because it only supports one parameter.

i.e.

      - run: markdownlint '**/*.md' -c .github/config/lint-config.yml
          github_token: ${{ secrets.GITHUB_TOKEN }}
          reporter: github-pr-review
          markdownlint_flags: --config .github/config/lint-config.yml .

fails with following error:

  error: unknown option `--config .github/config/lint-config.yml .'
review-dog commented 3 years ago

Hi, @oscar-dominguez! We merged your PR to reviewdog! 🐶 Thank you for your contribution! ✨

We just invited you to join the @reviewdog organization on GitHub. Accept the invite by visiting https://github.com/orgs/reviewdog/invitation. By joining the team, you'll be a part of reviewdog community and can help the maintainance of reviewdog.

Thanks again!