Skip to content

Commit c37c976

Browse files
committed
Merge branch 'master' into feat/test-placeholder-action
2 parents 0f12250 + 6ab8d8f commit c37c976

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/scripts/translation_validator/validate_translations.py renamed to .github/scripts/validate_translations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def validate_translations(translations_dir: Path) -> list[str]:
119119
return errors
120120

121121
def main():
122-
repo_root = Path(__file__).parent.parent.parent.parent
122+
repo_root = Path(__file__).parent.parent.parent
123123

124124
translations_dir = repo_root / "custom_components" / "powercalc" / "translations"
125125

.github/workflows/validate-translations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- custom_components/powercalc/translations/*.json
7+
workflow_dispatch:
78

89
permissions:
910
contents: read

0 commit comments

Comments
 (0)