blob: d7f25f38690e8be9eba92656f9b944da6c73029e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
name: Lint Doc
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
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"
|