diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-14 01:04:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-14 01:04:17 +0300 |
| commit | 1f0774ff8bf18c670e2668cb9de3dea4353e92f2 (patch) | |
| tree | e5592274a3748a735d3bf8b1968c63a47013d081 /.github/workflows | |
| parent | 8a27a9ba593e5255b139836029d3ab7afb5bf37d (diff) | |
| parent | e42debd8d2654b9c665598bbb0abed7b3bd2cd32 (diff) | |
| download | vyos-documentation-1f0774ff8bf18c670e2668cb9de3dea4353e92f2.tar.gz vyos-documentation-1f0774ff8bf18c670e2668cb9de3dea4353e92f2.zip | |
Merge pull request #2020 from vyos/yuriy/myst-readme-agents-sagitta
docs(sagitta): refresh README + AGENTS source-format claim, inline doc-linter
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lint-doc.yml | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/.github/workflows/lint-doc.yml b/.github/workflows/lint-doc.yml index 7f2f2099..d7f25f38 100644 --- a/.github/workflows/lint-doc.yml +++ b/.github/workflows/lint-doc.yml @@ -2,9 +2,33 @@ name: Lint Doc on: pull_request: +permissions: + contents: read + pull-requests: read + jobs: - lint-doc: - uses: vyos/.github/.github/workflows/lint-doc.yml@feature/T6349-reusable-workflows - secrets: inherit - - + doc-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Bullfrog Secure Runner + continue-on-error: true + uses: bullfrogsec/bullfrog@v0.8.4 + with: + egress-policy: audit + + - name: Get File Changes + id: file_changes + uses: trilom/file-changes-action@v1.2.4 + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '3.x' + + - name: run doc linter + env: + FILES_MODIFIED: ${{ steps.file_changes.outputs.files_modified }} + run: python scripts/doc-linter.py "$FILES_MODIFIED" |
