249 docs rfc make the grafana integration documentation into a single page doc #10350
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: Linting | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
prose: | |
if: github.repository == 'timescale/docs' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 # Ensure using the latest stable version | |
- name: Install Vale | |
run: | | |
curl -sSfL https://github.com/errata-ai/vale/releases/download/v2.14.0/vale_2.14.0_Linux_64-bit.tar.gz -o vale.tar.gz | |
tar -xzf vale.tar.gz | |
sudo mv vale /usr/local/bin/vale # Move vale to a directory in PATH | |
sudo chmod +x /usr/local/bin/vale | |
- name: Run Vale | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
vale --version | |
vale --glob='["_partials/**/*", "_troubleshooting/**/*", "about/**/*", "api/**/*", "getting-started/**/*", "mst/**/*", "navigation/**/*", "quick-start/**/*", "self-hosted/**/*", "tutorials/**/*", "use-timescale/**/*", "ai/**/*"]' | |