mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-01-18 18:43:43 +00:00
master branch
This commit is contained in:
parent
b42a01c1d7
commit
93da0fcbe0
6
.github/workflows/locales-format.yml
vendored
6
.github/workflows/locales-format.yml
vendored
@ -3,7 +3,7 @@ name: locales-format
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- jq-action
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
locales-format:
|
locales-format:
|
||||||
@ -18,8 +18,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions"
|
git config --local user.name "github-actions"
|
||||||
- name: Checkout jq-action
|
- name: Checkout master
|
||||||
run: git checkout jq-action
|
run: git checkout master
|
||||||
- name: Fix jsons
|
- name: Fix jsons
|
||||||
run: find locales -type f -name '*.json' | xargs -P $(nproc) -I {} sh -c 'echo "$(jq . "$1")" > "$1"' -- {}
|
run: find locales -type f -name '*.json' | xargs -P $(nproc) -I {} sh -c 'echo "$(jq . "$1")" > "$1"' -- {}
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user