Files
ansible-docs/.github/workflows/ci.yaml
Felix Fontein c7c3eea9dc 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>
2025-03-21 19:41:40 +01:00

31 lines
501 B
YAML

name: Ansible Docsite CI
"on":
schedule:
# Daily
- cron: "23 7 * * *"
push:
branches-ignore:
- 'patchback/**'
- 'pip-compile/**'
pull_request:
workflow_dispatch:
jobs:
nox:
uses: ./.github/workflows/reusable-nox.yml
check:
if: always()
needs:
- nox
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}