Skip to content

Fix MiddlewareFactory legacy wrapping #34299

Fix MiddlewareFactory legacy wrapping

Fix MiddlewareFactory legacy wrapping #34299

name: Verify Docs Quality
on:
pull_request:
branches: [master]
paths:
- '.github/workflows/verify_docs-quality.yml'
- '**.md'
jobs:
check-all-files:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Vale does not support file excludes, so we use the script to generate a list of files instead
# The action also does not allow args or a local config file to be passed in, so the files array
# also contains an "--config=.github/vale/config.ini" option
- name: generate vale args
id: generate
run: echo "args=$(node scripts/check-docs-quality.js --ci-args)" >> $GITHUB_OUTPUT
- name: documentation quality check
uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
with:
# This also contains --config=.github/vale/config.ini ... :/
files: '${{ steps.generate.outputs.args }}'
version: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}