From 58ec169efed0cf84d99f867833898cef61fbce0e Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 22 Jun 2026 10:19:43 +0200 Subject: [PATCH] CI docs workflow: use shared antsibull-nox workflow (#12319) * Use reusable workflow. * Also run workflow if the workflow itself is modified. --- .github/workflows/docs.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ec67f4300f..d725c062d2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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