Debian Codegraph @

ansible_collections/community/vmware/.github/workflows/extra-docs-linting.yml

raw
1 name: Lint extra docsite docs and links
2 on:
3 # Run CI against all pushes (direct commits, also merged PRs), Pull Requests
4 push:
5 branches:
6 - main
7 - stable-4.x
8 - stable-5.x
9 pull_request:
10 # Run CI once per day (at 07:12 UTC)
11 # This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version
12 schedule:
13 - cron: '12 7 * * *'
14
15 jobs:
16 docsite:
17 name: Lint extra docsite docs and links
18 permissions:
19 contents: read
20 runs-on: ubuntu-latest
21 steps:
22
23 - name: Check out code
24 uses: actions/checkout@v4
25
26 - name: Set up Python
27 uses: actions/setup-python@v5
28 with:
29 python-version: '3.13'
30
31 - name: Install antsibull-docs
32 run: pip install antsibull-docs --disable-pip-version-check
33
34 - name: Install dependent collections
35 run: >
36 ansible-galaxy collection install
37 'vmware.vmware>=2.5.0'
38
39 - name: Run collection docs linter
40 run: antsibull-docs lint-collection-docs . --plugin-docs --skip-rstcheck