-
Notifications
You must be signed in to change notification settings - Fork 543
65 lines (64 loc) · 1.99 KB
/
pip-compile-dev.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
---
name: "Refresh dev dependencies"
"on":
schedule:
# Weekly
- cron: "0 0 * * 0"
workflow_dispatch:
inputs:
reset-branch:
type: boolean
default: false
labels:
required: false
type: string
jobs:
refresh:
strategy:
fail-fast: false
matrix:
include:
- base-branch: devel
pr-branch: pip-compile/devel/dev
nox-args: >-
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
'pip-compile(tag)'
python-versions: "3.11"
- base-branch: stable-2.18
pr-branch: pip-compile/stable-2.18/dev
nox-args: >-
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
python-versions: "3.11"
- base-branch: stable-2.17
pr-branch: pip-compile/stable-2.17/dev
nox-args: >-
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
python-versions: "3.10"
- base-branch: stable-2.16
pr-branch: pip-compile/stable-2.16/dev
nox-args: >-
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
python-versions: "3.10"
name: "Refresh dev dependencies"
uses: ./.github/workflows/reusable-pip-compile.yml
with:
message: "ci: refresh dev dependencies"
base-branch: "${{ matrix.base-branch }}"
pr-branch: "${{ matrix.pr-branch }}"
nox-args: "${{ matrix.nox-args }}"
python-versions: "${{ matrix.python-versions }}"
reset-branch: "${{ inputs.reset-branch || false }}"
labels: "${{ inputs.labels || 'no_backport,tooling' }}"
secrets: inherit