Skip to content

Commit ea302d4

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent 9d746d2 commit ea302d4

5 files changed

Lines changed: 27 additions & 26 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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ repos:
2929
args: [--autofix, --indent, '2']
3030
- id: pretty-format-toml
3131
args: [--autofix]
32-
- repo: https://github.com/executablebooks/mdformat
33-
rev: 1.0.0
34-
hooks:
35-
- id: mdformat
36-
additional_dependencies:
37-
- mdformat-gfm==1.0.0
3832
- repo: https://github.com/shellcheck-py/shellcheck-py
3933
rev: v0.11.0.1
4034
hooks:
@@ -78,6 +72,11 @@ repos:
7872
rev: v1.95.0
7973
hooks:
8074
- id: kingfisher-auto
75+
- repo: https://github.com/rvben/rumdl-pre-commit
76+
rev: v0.1.62
77+
hooks:
78+
- id: rumdl
79+
- id: rumdl-fmt
8180
ci:
8281
autoupdate_schedule: quarterly
8382
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)