1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-25 22:05:40 +00:00

CI docs workflow: use shared antsibull-nox workflow (#12319)

* Use reusable workflow.

* Also run workflow if the workflow itself is modified.
This commit is contained in:
Felix Fontein 2026-06-22 10:19:43 +02:00 committed by GitHub
parent 91fbe5df54
commit 58ec169efe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,9 +11,11 @@ name: nox
- stable-*
paths:
- docs/**
- .github/workflows/docs.yml
pull_request:
paths:
- docs/**
- .github/workflows/docs.yml
# Run CI once per day (at 08:00 UTC)
schedule:
- cron: '0 8 * * *'
@ -21,14 +23,7 @@ name: nox
jobs:
nox:
runs-on: ubuntu-latest
name: "Validate generated Ansible output"
steps:
- name: Check out collection
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Run nox
uses: ansible-community/antsibull-nox@main
with:
sessions: ansible-output
uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main
with:
session-name: Run extra sanity tests
sessions: ansible-output