-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e182734
commit 58d3983
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Lint extra docsite docs and links | ||
on: | ||
Check warning on line 2 in extra-docs-linting.yml GitHub Actions / MegaLinter
|
||
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests | ||
push: | ||
branches: | ||
- main | ||
- stable-* | ||
pull_request: | ||
# Run CI once per day (at 06:00 UTC) | ||
# 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 | ||
Check failure on line 10 in extra-docs-linting.yml GitHub Actions / MegaLinter
|
||
schedule: | ||
- cron: '0 6 * * *' | ||
|
||
jobs: | ||
docsite: | ||
name: Lint extra docsite docs and links | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install antsibull-docs | ||
run: pip install antsibull-docs --disable-pip-version-check | ||
|
||
- name: Run collection docs linter | ||
run: antsibull-docs lint-collection-docs . --plugin-docs --skip-rstcheck |