Skip to content

Commit 685fcd4

Browse files
authored
chore: add dependency cooldowns
1 parent 93950f3 commit 685fcd4

5 files changed

Lines changed: 1437 additions & 1407 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,25 @@ updates:
55
directory: /
66
schedule:
77
interval: daily
8+
cooldown:
9+
default-days: 7
810
commit-message:
911
prefix:
10-
# Python - use pip ecosystem (works with pyproject.toml)
11-
- package-ecosystem: pip
12+
# Python
13+
- package-ecosystem: uv
1214
directory: /
1315
schedule:
1416
interval: daily
17+
cooldown:
18+
default-days: 7
1519
commit-message:
16-
prefix:
20+
prefix:
21+
# Admin dashboard
22+
- package-ecosystem: bun
23+
directory: /apps/admin_dashboard
24+
schedule:
25+
interval: daily
26+
cooldown:
27+
default-days: 7
28+
commit-message:
29+
prefix:

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install uv
1818
uses: astral-sh/setup-uv@v7
1919
with:
20-
version: "0.6.6"
20+
version: "0.9.17"
2121

2222
- name: Set up Python 3.12
2323
run: uv python install 3.12
@@ -65,7 +65,7 @@ jobs:
6565
- name: Install uv
6666
uses: astral-sh/setup-uv@v7
6767
with:
68-
version: "0.6.6"
68+
version: "0.9.17"
6969

7070
- name: Set up Python 3.12
7171
run: uv python install 3.12
@@ -101,15 +101,14 @@ jobs:
101101
- name: Install uv
102102
uses: astral-sh/setup-uv@v7
103103
with:
104-
version: "0.6.6"
104+
version: "0.9.17"
105105

106106
- name: Set up Python
107107
run: uv python install 3.12
108108

109109
- name: Install dependencies
110110
run: |
111111
uv sync --all-extras
112-
uv add --dev ruff mypy
113112
114113
- name: Run ruff linter
115114
run: |
@@ -163,7 +162,7 @@ jobs:
163162
if: steps.agent-eval-changes.outputs.run == 'true'
164163
uses: astral-sh/setup-uv@v7
165164
with:
166-
version: "0.6.6"
165+
version: "0.9.17"
167166

168167
- name: Set up Python
169168
if: steps.agent-eval-changes.outputs.run == 'true'

apps/admin_dashboard/bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
minimumReleaseAge = 604800 # 7 days

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ dependencies = [
1212

1313
[tool.uv]
1414
package = false
15+
exclude-newer = "7 days"
16+
17+
[tool.uv.pip]
18+
exclude-newer = "7 days"
1519

1620
[tool.uv.sources]
1721
discord_bot = { workspace = true }

0 commit comments

Comments
 (0)