Skip to content

Commit 433c980

Browse files
committed
add renovate config
1 parent 06c8fe5 commit 433c980

2 files changed

Lines changed: 27 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: check-yaml
1010
- id: detect-private-key
1111
- repo: https://github.com/tox-dev/pyproject-fmt
12-
rev: "v2.19.0"
12+
rev: "v2.21.0"
1313
hooks:
1414
- id: pyproject-fmt
1515
- repo: https://github.com/citation-file-format/cffconvert
@@ -39,12 +39,12 @@ repos:
3939
- id: yamllint
4040
exclude: pre-commit-config.yaml
4141
- repo: https://github.com/astral-sh/ruff-pre-commit
42-
rev: "v0.15.6"
42+
rev: "v0.15.8"
4343
hooks:
4444
- id: ruff-format
4545
- id: ruff-check
4646
- repo: https://github.com/rhysd/actionlint
47-
rev: v1.7.11
47+
rev: v1.7.12
4848
hooks:
4949
- id: actionlint
5050
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
@@ -53,7 +53,7 @@ repos:
5353
- id: pre-commit-update
5454
args: ["--keep", "mdformat", "--keep", "pre-commit-update", "--keep", "cffconvert"]
5555
- repo: https://github.com/jendrikseipp/vulture
56-
rev: 'v2.15'
56+
rev: 'v2.16'
5757
hooks:
5858
- id: vulture
5959
- repo: https://github.com/aristanetworks/j2lint

renovate.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"schedule": ["* * 1 * *"],
4+
"enabledManagers": ["custom.regex"],
5+
"customManagers": [
6+
{
7+
"customType": "regex",
8+
"managerFilePatterns": [
9+
"/^\\.github\\/workflows\\/.+\\.yml\\.jinja$/"
10+
],
11+
"matchStrings": [
12+
"uses:\\s+(?<depName>[^@\\s]+)@(?<currentValue>[^\\s]+)"
13+
],
14+
"datasourceTemplate": "github-tags"
15+
}
16+
],
17+
"packageRules": [
18+
{
19+
"matchManagers": ["custom.regex"],
20+
"groupName": "github actions"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)