errata-ai / vale-action

:octocat: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
MIT License
201 stars 51 forks source link

Vale update #53

Closed Stanzilla closed 2 years ago

Stanzilla commented 2 years ago

Hey there, could there maybe be a way to specify which version of Vale to use? Currently the action uses 2.10.3 while the latest is 2.15.0, which has quite a few changes and means I have different results in my CI vs locally.

tjperry07 commented 2 years ago

yes. Use the @ to specify the version in the action. But the action and the CI are on different releases.

    - name: Vale
      uses: errata-ai/vale-action@v1.4.2
      with:
        onlyAnnotateModifiedLines: true
      env:
        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Stanzilla commented 2 years ago

yes. Use the @ to specify the version in the action. But the action and the CI are on different releases.

    - name: Vale
      uses: errata-ai/vale-action@v1.4.2
      with:
        onlyAnnotateModifiedLines: true
      env:
        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Ah sorry for being unclear about that, I did actually mean the Vale version itself, not the action.

jdkato commented 2 years ago

You can give the latest version a try now by using uses: errata-ai/vale-action@master.

I'll put out a new release in a few days.

jdkato commented 2 years ago

The new release is out now.