allow restricting Kube metadata to local node only #251
Workflow file for this run
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: Lint prose with Vale | |
on: | |
pull_request: | |
paths: ["docs/sources/**"] | |
workflow_dispatch: | |
jobs: | |
vale: | |
runs-on: ubuntu-latest | |
container: | |
image: grafana/vale:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run linter | |
run: > | |
cp /etc/vale/.vale.ini ./.vale.ini | |
&& | |
cp -R /etc/vale/dictionaries dictionaries | |
&& | |
vale | |
'--glob=*.md' | |
--minAlertLevel=warning | |
--output=/etc/vale/rdjsonl.tmpl | |
docs/sources | |
| | |
/bin/reviewdog | |
--conf=/etc/vale/.reviewdog.yml | |
--fail-on-error | |
--f=rdjsonl | |
--name=vale | |
--reporter=github-pr-review | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |