Skip to content

Commit 70616b4

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent 5503fad commit 70616b4

5 files changed

Lines changed: 27 additions & 30 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3737
with:
3838
python-version: '3.14'
39-
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
39+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
4040
with:
4141
version: 0.11.7
4242
enable-cache: false

.github/workflows/pull_requests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
persist-credentials: false
2525
- name: Enable Pull Request Automerge
26-
run: gh pr merge --rebase --auto "${{ github.event.pull_request.number }}"
26+
run: gh pr merge --rebase --auto "$PR_NUMBER"
2727
env:
2828
GH_TOKEN: ${{ secrets.WEBLATE_CI_TOKEN }} # zizmor: ignore[secrets-outside-env]
29+
PR_NUMNBER: ${{ github.event.pull_request.number }}

.markdownlint.yml

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

.pre-commit-config.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,6 @@ repos:
3939
hooks:
4040
- id: pretty-format-yaml
4141
args: [--autofix, --indent, '2']
42-
- repo: https://github.com/executablebooks/mdformat
43-
rev: 1.0.0
44-
hooks:
45-
- id: mdformat
46-
additional_dependencies:
47-
- mdformat-gfm==1.0.0
48-
- repo: https://github.com/igorshubovych/markdownlint-cli
49-
rev: v0.48.0
50-
hooks:
51-
- id: markdownlint
5242
- repo: https://github.com/fsfe/reuse-tool
5343
rev: v6.2.0
5444
hooks:
@@ -89,6 +79,11 @@ repos:
8979
rev: v1.95.0
9080
hooks:
9181
- id: kingfisher-auto
82+
- repo: https://github.com/rvben/rumdl-pre-commit
83+
rev: v0.1.62
84+
hooks:
85+
- id: rumdl
86+
- id: rumdl-fmt
9287
ci:
9388
autoupdate_schedule: quarterly
9489
skip:

.rumdl.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright © Michal Čihař <michal@weblate.org>
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
#
5+
# This file is maintained in https://github.com/WeblateOrg/meta/
6+
7+
[global]
8+
disable = [
9+
# Avoid length limit checks
10+
"line-length",
11+
# We do not enforce heading
12+
"first-line-heading"
13+
]
14+
15+
[per-file-ignores]
16+
"README.md" = [
17+
# Allow HTML
18+
"MD033"
19+
]

0 commit comments

Comments
 (0)