GHA CI: exclude checking for GUI i18n files

And bump hooks version along the way.
PR #16484.
This commit is contained in:
Chocobo1 2022-02-20 13:43:57 +08:00 committed by GitHub
parent 70ec183fca
commit c627ed4b6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,15 @@ repos:
name: Check newline characters in <translation> tag name: Check newline characters in <translation> tag
entry: .github/workflows/check_translation_tag.py entry: .github/workflows/check_translation_tag.py
language: script language: script
exclude: |
(?x)^(
src/lang/.*
)$
types_or: types_or:
- ts - ts
- repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.0.1 rev: v4.1.0
hooks: hooks:
- id: check-json - id: check-json
name: Check JSON files name: Check JSON files