mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 09:12:55 +00:00
* feat: postgres tests * feat: mongo cutoff * feat: mongo cutoff * feat: adjust docs and compose files * fix: mini code mongo removals * fix: tests and k8s mongo stuff * feat: test fixes * fix: ruff * fix: vale * Potential fix for pull request finding 'CodeQL / Clear-text logging of sensitive information' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * fix: mini suggestions * vale lint fix 2 * fix: codeql columns thing * fix: test mongo * fix: tests coverage * feat: better tests 4 * feat: more tests * feat: decent coverage * fix: ruff fixes * fix: remove mongo mock * feat: enhance workflow engine and API routes; add document retrieval and source handling * feat: e2e tests * fix: mcp, mongo and more * fix: mini codeql warning * fix: agent chunk view * fix: mini issues * fix: more pg fixes * feat: postgres prep on start * feat: qa tests * fix: mini improvements * fix: tests --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Siddhant Rai <siddhant.rai.5686@gmail.com>
35 lines
731 B
YAML
35 lines
731 B
YAML
name: Vale Documentation Linter
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**/*.md'
|
|
- 'docs/**/*.mdx'
|
|
- '**/*.md'
|
|
- '.vale.ini'
|
|
- '.github/styles/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
vale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Vale
|
|
run: |
|
|
curl -fsSL -o vale.tar.gz \
|
|
https://github.com/errata-ai/vale/releases/download/v3.0.5/vale_3.0.5_Linux_64-bit.tar.gz
|
|
tar -xzf vale.tar.gz
|
|
sudo mv vale /usr/local/bin/vale
|
|
vale --version
|
|
|
|
- name: Sync Vale packages
|
|
run: vale sync
|
|
|
|
- name: Run Vale
|
|
run: vale --minAlertLevel=error docs
|