mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
Add yamllint check for RST code listings (#2385)
* Add yamllint check for RST code listings. * Address review comments. * Sort languages and remove no longer needed duplicates. * Enable warnings, but disable all failing rules. * Improve formulation. Co-authored-by: Don Naro <dnaro@redhat.com> * Show allowed languages when no or invalid language is supplied. Improve line lengths. * Make sure that 'yamllint .' passes. * Fix indentation issues introduced in #2095. --------- Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
2
.github/workflows/build-package-docs.yaml
vendored
2
.github/workflows/build-package-docs.yaml
vendored
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: Build and deploy docs
|
||||
on:
|
||||
"on":
|
||||
schedule:
|
||||
# Run at 05:17 on Tuesday and Thursday
|
||||
- cron: '17 5 * * 2,4'
|
||||
|
||||
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -1,8 +1,8 @@
|
||||
name: Ansible Docsite CI
|
||||
|
||||
on:
|
||||
"on":
|
||||
schedule:
|
||||
# Daily
|
||||
# Daily
|
||||
- cron: "23 7 * * *"
|
||||
push:
|
||||
branches-ignore:
|
||||
|
||||
2
.github/workflows/reusable-nox.yml
vendored
2
.github/workflows/reusable-nox.yml
vendored
@@ -25,6 +25,8 @@ jobs:
|
||||
python-versions: "3.11"
|
||||
- session: "checkers(rstcheck)"
|
||||
python-versions: "3.11"
|
||||
- session: "checkers(rst-yamllint)"
|
||||
python-versions: "3.11"
|
||||
- session: "checkers(docs-build)"
|
||||
python-versions: "3.11"
|
||||
- session: "actionlint"
|
||||
|
||||
Reference in New Issue
Block a user