Skip to content

Commit 1c771da

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent 4e7cca3 commit 1c771da

4 files changed

Lines changed: 26 additions & 25 deletions

File tree

.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
@@ -54,12 +54,6 @@ repos:
5454
rev: v0.25
5555
hooks:
5656
- id: validate-pyproject
57-
- repo: https://github.com/executablebooks/mdformat
58-
rev: 1.0.0
59-
hooks:
60-
- id: mdformat
61-
additional_dependencies:
62-
- mdformat-gfm==1.0.0
6357
- repo: https://github.com/rhysd/actionlint
6458
rev: v1.7.12
6559
hooks:
@@ -93,6 +87,11 @@ repos:
9387
hooks:
9488
- id: shfmt
9589
args: [--write]
90+
- repo: https://github.com/rvben/rumdl-pre-commit
91+
rev: v0.1.62
92+
hooks:
93+
- id: rumdl
94+
- id: rumdl-fmt
9695
ci:
9796
autoupdate_schedule: quarterly
9897
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)