-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (39 loc) · 1 KB
/
documentation.yml
File metadata and controls
44 lines (39 loc) · 1 KB
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
name: 📄 Documentation
on:
push:
branches: [main]
paths:
- "docs/README.template.MD"
pull_request:
branches: [main]
paths:
- "docs/README.template.MD"
workflow_dispatch:
inputs:
force-update:
description: "Force README update even without changes"
type: boolean
default: false
workflow_call:
inputs:
tag-name:
description: "Tag name that triggered the documentation update"
type: string
required: false
default: ""
force-update:
description: "Force README update even without changes"
type: boolean
required: false
default: false
permissions:
contents: write
pull-requests: write
jobs:
generate-docs:
name: Generate Documentation
uses: bauer-group/automation-templates/.github/workflows/documentation.yml@main
with:
tag-name: ${{ inputs.tag-name || github.ref_name }}
force-update: ${{ inputs.force-update || false }}
secrets: inherit