Organizing infra repo #17958
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Vale linter | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
vale-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run vale | |
uses: errata-ai/vale-action@reviewdog | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
with: | |
reporter: github-check | |
fail_on_error: true | |
filter_mode: added | |
token: ${{secrets.GITHUB_TOKEN}} | |
- name: Comment on Failure | |
if: failure() | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
> [!NOTE] | |
> Our Vale automated writing feedback tool has suggestions for this PR. You can view these suggestions in the *Files changed* tab. If you're not a New Relic docs writer, we'll review any comments and you don't need to take any action (though feel free to make edits if you like!). |