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:
parent
91fbe5df54
commit
58ec169efe
1 changed files with 6 additions and 11 deletions
17
.github/workflows/docs.yml
vendored
17
.github/workflows/docs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue