Skip to content

Commit 5ed64f9

Browse files
committed
ci: add action that updates dependencies every 6 months
1 parent 994804c commit 5ed64f9

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/renovate.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"packageRules": [
5+
{
6+
"matchManagers": ["pip_requirements", "conda"],
7+
"groupName": "Python dependencies",
8+
"separateMajorMinor": false
9+
},
10+
{
11+
"matchManagers": ["github-actions"],
12+
"groupName": "GitHub actions",
13+
"separateMajorMinor": false
14+
}
15+
],
16+
"dependencyDashboard": true
17+
// "onboarding": false, // TODO: reactivate later
18+
// "requireConfig": "optional" // TODO: reactivate later
19+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: update_dependencies
2+
on:
3+
schedule:
4+
- cron: "0 0 1 2 *" # 1st of February at 00:00 UTC
5+
- cron: "0 0 1 8 *" # 1st of August at 00:00 UTC
6+
push: # TODO: remove later, only for testing
7+
jobs:
8+
run_renovate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v6.0.2
13+
- name: Run self-hosted Renovate
14+
uses: renovatebot/github-action@v44.2.5
15+
with:
16+
# token: ${{ secrets.RENOVATE_TOKEN }}
17+
token: ${{ secrets.RENOVATE_TOKEN_MY_QUEENS_FORK }}
18+
env:
19+
# RENOVATE_REPOSITORIES: "queens-py/queens"
20+
RENOVATE_REPOSITORIES: "leahaeusel/queens"
21+
RENOVATE_BRANCH_PREFIX: "renovate-action/"

0 commit comments

Comments
 (0)