Skip to content

Commit 411e194

Browse files
committed
Run ansible-output in CI if anything in docs/ is changed.
1 parent 1d709a6 commit 411e194

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/docs.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
# Copyright (c) Ansible Project
3+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4+
# SPDX-License-Identifier: GPL-3.0-or-later
5+
6+
name: nox
7+
'on':
8+
push:
9+
branches:
10+
- main
11+
- stable-*
12+
paths:
13+
- docs/**
14+
pull_request:
15+
paths:
16+
- docs/**
17+
# Run CI once per day (at 08:00 UTC)
18+
schedule:
19+
- cron: '0 8 * * *'
20+
workflow_dispatch:
21+
22+
jobs:
23+
nox:
24+
runs-on: ubuntu-latest
25+
name: "Validate generated Ansible output"
26+
steps:
27+
- name: Check out collection
28+
uses: actions/checkout@v5
29+
with:
30+
persist-credentials: false
31+
- name: Run nox
32+
uses: ansible-community/antsibull-nox@main
33+
with:
34+
sessions: ansible-output

0 commit comments

Comments
 (0)