Skip to content

Commit 09baebe

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent e83475b commit 09baebe

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
@@ -48,12 +48,6 @@ repos:
4848
args: [--autofix, --indent, '2']
4949
- id: pretty-format-toml
5050
args: [--autofix]
51-
- repo: https://github.com/executablebooks/mdformat
52-
rev: 1.0.0
53-
hooks:
54-
- id: mdformat
55-
additional_dependencies:
56-
- mdformat-gfm==1.0.0
5751
- repo: https://github.com/djlint/djLint
5852
rev: v1.36.4
5953
hooks:
@@ -101,6 +95,11 @@ repos:
10195
hooks:
10296
- id: shfmt
10397
args: [--write]
98+
- repo: https://github.com/rvben/rumdl-pre-commit
99+
rev: v0.1.62
100+
hooks:
101+
- id: rumdl
102+
- id: rumdl-fmt
104103
exclude: ^.*\.(svg)|weblate_web/templates/browserconfig.xml|weblate_web/static/vendor/|scripts/yarn/.*$
105104
ci:
106105
autoupdate_schedule: quarterly

.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)