Skip to content

[core] Trigger Vale only if md files of the docs are impacted #46

[core] Trigger Vale only if md files of the docs are impacted

[core] Trigger Vale only if md files of the docs are impacted #46

Workflow file for this run

name: Vale action
on:
pull_request:
paths:
- 'docs/data/**.md'
permissions: {}
jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
with:
reporter: github-pr-review
files: docs/data
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}