Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bb29476

Browse files
committedOct 28, 2024··
Merge branch 'release/v8.36'
2 parents 0bb502c + 9caa20c commit bb29476

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1225
-472
lines changed
 

‎.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,8 @@ indent_size = 2
292292
end_of_line = lf
293293
[*.{cmd,bat}]
294294
end_of_line = crlf
295+
296+
# YAML files
297+
[*.{yml,yaml}]
298+
indent_size = 2
299+
end_of_line = lf
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Localization Check
2+
on:
3+
push:
4+
branches: [ develop ]
5+
paths:
6+
- 'src/Resources/Locales/**'
7+
- 'README.md'
8+
workflow_dispatch:
9+
workflow_call:
10+
11+
jobs:
12+
localization-check:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20.x'
23+
24+
- name: Install dependencies
25+
run: npm install fs-extra@11.2.0 path@0.12.7 xml2js@0.6.2
26+
27+
- name: Run localization check
28+
run: node build/scripts/localization-check.js
29+
30+
- name: Commit changes
31+
run: |
32+
git config --global user.name 'github-actions[bot]'
33+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
34+
if [ -n "$(git status --porcelain)" ]; then
35+
git add README.md TRANSLATION.md
36+
git commit -m 'doc: Update translation status and missing keys'
37+
git push
38+
else
39+
echo "No changes to commit"
40+
fi
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.