-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (60 loc) · 1.87 KB
/
workflow_docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: GH Workflow Docs
on:
push:
branches: [main]
jobs:
gen_workflow_docs:
name: Auto Doc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Document doxygen_build
uses: tj-actions/auto-doc@v3
with:
reusable: true
filename: .github/workflows/doxygen_build.yml
output: docs/doxygen_build.md
- name: Document image_build
uses: tj-actions/auto-doc@v3
with:
reusable: true
filename: .github/workflows/image_build.yml
output: docs/image_build.md
- name: Document mkdocs_build
uses: tj-actions/auto-doc@v3
with:
reusable: true
filename: .github/workflows/mkdocs_build.yml
output: docs/mkdocs_build.md
- name: Document pypi_publish
uses: tj-actions/auto-doc@v3
with:
reusable: true
filename: .github/workflows/pypi_publish.yml
output: docs/pypi_publish.md
- name: Document wiki
uses: tj-actions/auto-doc@v3
with:
reusable: true
filename: .github/workflows/wiki.yml
output: docs/wiki.md
- name: Verify Changed files
uses: tj-actions/[email protected]
id: verify-changed-files
with:
files: |
docs/doxygen_build.md
docs/mkdocs_build.md
docs/pypi_publish.md
docs/wiki.md
- name: Create Pull Request
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: peter-evans/create-pull-request@v3
with:
base: "main"
title: "auto-doc: updated workflows docs"
branch: "docs/auto-doc-update-workflows"
commit-message: "docs: updated workflow docs"
body: "PR triggered via workflow_docs.yml workflow."