mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
602ee37533
* Add doc-validator tool to CI Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Use simpler apostrophe to make title match h1 Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Ensure doc-validator CI always passes until all errors are resolved Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
17 lines
447 B
YAML
17 lines
447 B
YAML
name: "doc-validator"
|
|
on:
|
|
pull_request:
|
|
paths: ["docs/sources/**"]
|
|
workflow_dispatch:
|
|
jobs:
|
|
doc-validator:
|
|
runs-on: "ubuntu-latest"
|
|
container:
|
|
image: "grafana/doc-validator:latest"
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: "actions/checkout@v3"
|
|
- name: "Run doc-validator tool"
|
|
# Ensure that the CI always passes until all errors are resolved.
|
|
run: "doc-validator ./docs/sources || true"
|