Skip to content

Commit e4b8b65

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent f215a12 commit e4b8b65

File tree

9 files changed

+37
-47
lines changed

9 files changed

+37
-47
lines changed

.github/renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@
137137
"matchStrings": [
138138
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+version: (?<currentValue>.*)\\s"
139139
]
140+
},
141+
{
142+
"customType": "regex",
143+
"fileMatch": [
144+
"^Dockerfile$"
145+
],
146+
"matchStrings": [
147+
"#\\s*renovate:\\s*?(release=(?<release>.*?))?\\s*depName=(?<depName>.*?)?\\sENV .*?_VERSION=\"(?<currentValue>.*)\""
148+
],
149+
"registryUrlTemplate": "https://deb.debian.org/debian?{{#if release }}release={{release}}{{else}}suite=stable{{/if}}&components=main,contrib,non-free&binaryArch=amd64",
150+
"datasourceTemplate": "deb"
140151
}
141152
]
142153
}

.github/workflows/closing.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
issues:
1010
types: [closed]
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.issue.id }}
14+
cancel-in-progress: true
15+
1216
permissions:
1317
contents: read
1418

@@ -24,7 +28,11 @@ jobs:
2428
if: |
2529
github.actor != 'renovate[bot]' &&
2630
github.event.issue.state_reason == 'completed' &&
27-
(contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'wontfix')) || join(github.event.issue.labels.*.name) == ''
31+
(
32+
contains(github.event.issue.labels.*.name, 'question') &&
33+
! contains(github.event.issue.labels.*.name, 'duplicate') &&
34+
! contains(github.event.issue.labels.*.name, 'wontfix')
35+
) || join(github.event.issue.labels.*.name) == ''
2836
with:
2937
token: ${{ secrets.GITHUB_TOKEN }}
3038
issue-number: ${{ github.event.issue.number }}

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
id: detect
3535
run: |
3636
if test -f requirements-lint.txt ; then
37-
echo "method=requirements" >> $GITHUB_OUTPUT
37+
echo "method=requirements" >> "$GITHUB_OUTPUT"
3838
elif test -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
39-
echo "method=pep735" >> $GITHUB_OUTPUT
39+
echo "method=pep735" >> "$GITHUB_OUTPUT"
4040
elif test -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
41-
echo "method=pyproject" >> $GITHUB_OUTPUT
41+
echo "method=pyproject" >> "$GITHUB_OUTPUT"
4242
else
43-
echo "method=uvx" >> $GITHUB_OUTPUT
43+
echo "method=uvx" >> "$GITHUB_OUTPUT"
4444
fi
4545
- name: pre-commit (PEP 735)
4646
if: steps.detect.outputs.method == 'pep735'
@@ -59,7 +59,7 @@ jobs:
5959
run: uv pip install --system -r requirements-lint.txt
6060
- name: Install dependencies
6161
if: steps.detect.outputs.method == 'pyproject'
62-
run: uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
62+
run: uv pip install --system "$(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)"
6363
- name: pre-commit (installed)
6464
if: steps.detect.outputs.method == 'requirements' || steps.detect.outputs.method == 'pyproject'
6565
run: pre-commit run --all

.github/workflows/setup.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,5 @@ jobs:
7575
with:
7676
generateReleaseNotes: true
7777
artifacts: dist/*
78+
permissions:
79+
contents: read

.github/workflows/submodules-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ jobs:
5252
labels: |
5353
dependencies
5454
automerge
55+
permissions:
56+
contents: read

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ jobs:
1616
python-version: '3.13'
1717
- name: Lint
1818
run: ./scripts/lint
19+
permissions:
20+
contents: read

.github/workflows/update-generated.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,5 @@ jobs:
5252
labels: |
5353
dependencies
5454
automerge
55+
permissions:
56+
contents: read

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,9 @@ repos:
6262
hooks:
6363
- id: reuse
6464

65+
- repo: https://github.com/rhysd/actionlint
66+
rev: v1.7.7
67+
hooks:
68+
- id: actionlint
6569
ci:
6670
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)