forked from ansible/ansible-documentation
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (39 loc) · 1.07 KB
/
pip-compile-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
---
name: "Refresh docs build dependencies"
"on":
schedule:
# Weekly
- cron: "0 0 * * 0"
workflow_dispatch:
inputs:
base-branch:
required: false
type: string
pr-branch:
required: false
type: string
reset-branch:
type: boolean
default: false
labels:
required: false
type: string
push:
branches:
- devel
paths:
- .github/workflows/reusable-pip-compile.yml
- ".github/workflows/pip-compile-docs.yml"
- "tests/*.in"
jobs:
refresh:
name: "Refresh docs build dependencies"
uses: ./.github/workflows/reusable-pip-compile.yml
with:
message: "ci: refresh docs build dependencies"
base-branch: "${{ inputs.base-branch || 'devel' }}"
pr-branch: "${{ inputs.pr-branch || 'pip-compile/devel/docs' }}"
nox-args: "-e 'pip-compile-3.10(requirements)' 'pip-compile-3.10(requirements-relaxed)'"
reset-branch: "${{ inputs.reset-branch || false }}"
labels: "${{ inputs.labels || 'doc builds,no_backport' }}"
secrets: inherit