1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-01 16:18:55 +00:00

[PR #12319/58ec169e backport][stable-12] CI docs workflow: use shared antsibull-nox workflow (#12321)

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

* Use reusable workflow.

* Also run workflow if the workflow itself is modified.

(cherry picked from commit 58ec169efe)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2026-06-22 12:58:56 +02:00 committed by GitHub
parent d58d91c0e8
commit c335716945
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