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

exclude/ignore paths in GH Action #96

Open
sudhanshu456 opened this issue Apr 12, 2023 · 1 comment
Open

exclude/ignore paths in GH Action #96

sudhanshu456 opened this issue Apr 12, 2023 · 1 comment

Comments

@sudhanshu456
Copy link

I was looking for a way to exclude files and stumbled upon this issue on GitHub: errata-ai/vale#254. I noticed that Vale CLI has a glob option, so I tried to find the same option in the GitHub action, but I couldn't locate it. Can you please advise me on how to proceed?

Is there an option that I may have overlooked in the action parameters? If not, would it be possible to add this feature?

@spier
Copy link

spier commented May 26, 2023

@sudhanshu456 according to these docs you can use the vale_flags property of the GitHub Action for this purpose. e.g.

    - name: Vale Linting
      uses: errata-ai/vale-action@reviewdog
      with:
        vale_flags: "--glob=*.md"

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