Skip to content

Commit

Permalink
chore: Sync with WeblateOrg/meta
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 3, 2024
1 parent 09e91e5 commit 4f8ed03
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
13 changes: 9 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"git-refs"
],
"automerge": false,
"schedule": "on the last day of the month"
"schedule": "on the first day of the month"
},
{
"matchDatasources": [
"helm"
],
"automerge": false,
"schedule": "on the last day of the month"
"schedule": "on the first day of the month"
},
{
"matchPaths": [
"matchFileNames": [
"**/package.json"
],
"automerge": false
Expand Down Expand Up @@ -68,8 +68,9 @@
}
}
],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"\\.pre-commit-config\\.yaml"
],
Expand All @@ -80,6 +81,7 @@
"versioningTemplate": "pep440"
},
{
"customType": "regex",
"fileMatch": [
"\\.pre-commit-config\\.yaml"
],
Expand All @@ -90,6 +92,7 @@
"versioningTemplate": "npm"
},
{
"customType": "regex",
"fileMatch": [
"^Dockerfile$"
],
Expand All @@ -101,6 +104,7 @@
"versioningTemplate": "pep440"
},
{
"customType": "regex",
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
Expand All @@ -109,6 +113,7 @@
]
},
{
"customType": "regex",
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$"
],
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- uses: astral-sh/setup-uv@v3
- name: Install dependencies
run: |
if [ -f requirements-lint.txt ] ; then
uv pip install --system -r requirements-lint.txt
elif grep -q dependency-groups pyproject.toml ; then
uv sync --only-group pre-commit
else
uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
fi
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ repos:
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm==0.3.7
- mdformat-gfm==0.3.6
- mdformat-ruff==0.1.3
- mdformat-shfmt==0.2.0
- mdformat-shfmt==0.1.0
- mdformat_tables==1.0.0
ci:
autoupdate_schedule: quarterly

0 comments on commit 4f8ed03

Please sign in to comment.