mirror of https://github.com/grafana/grafana.git
27 lines
727 B
YAML
27 lines
727 B
YAML
name: Documentation CI
|
|
on:
|
|
pull_request:
|
|
branches: ["main"]
|
|
paths: ["docs/sources/**"]
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
vale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
security-events: write
|
|
container:
|
|
image: grafana/vale:latest # zizmor: ignore[unpinned-images]
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: false
|
|
- uses: grafana/writers-toolkit/vale-action@vale-action/v1 # zizmor: ignore[unpinned-uses]
|
|
with:
|
|
filter: '.Name in ["Grafana.GrafanaCom", "Grafana.WordList", "Grafana.Spelling", "Grafana.ProductPossessives"]'
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|