mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Test update catalogs.json while auto-merging i18n PRs
This commit is contained in:
parent
8c02d336be
commit
6e59faada4
1 changed files with 9 additions and 0 deletions
9
.github/workflows/i18n-automerge.yml
vendored
9
.github/workflows/i18n-automerge.yml
vendored
|
@ -51,6 +51,15 @@ jobs:
|
|||
exit 1
|
||||
else
|
||||
echo "Success: More than 50 lines have been changed."
|
||||
node scripts/catalogs.js
|
||||
if git diff --quiet src/data/catalogs.json; then
|
||||
echo "No changes to catalogs.json"
|
||||
else
|
||||
echo "Changes to catalogs.json"
|
||||
git add src/data/catalogs.json
|
||||
git commit -m "Update catalogs.json"
|
||||
git push
|
||||
fi
|
||||
fi
|
||||
|
||||
- name: Merge pull request
|
||||
|
|
Loading…
Reference in a new issue