forked from RocketChat/Rocket.Chat.ReactNative
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into migrate_component_functional
- Loading branch information
Showing
165 changed files
with
21,740 additions
and
9,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: organize translations | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'app/i18n/locales/**.json' | ||
|
||
jobs: | ||
organize-and-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Run script to organize JSON keys | ||
run: node scripts/organize-translations.js | ||
|
||
- name: Get changed files | ||
id: git-check | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
**.json | ||
- name: List all changed files | ||
if: steps.git-check.outputs.any_changed == 'true' | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.git-check.outputs.all_changed_files }} | ||
run: | | ||
for file in ${ALL_CHANGED_FILES}; do | ||
echo "$file was changed" | ||
done | ||
- name: Commit and push if changes | ||
if: steps.git-check.outputs.any_changed == 'true' | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: 'action: organized translations' |
6 changes: 3 additions & 3 deletions
6
__tests__/containers/RoomItem/__snapshots__/RoomItem.stories.storyshot
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
__tests__/containers/markdown/__snapshots__/Markdown.stories.storyshot
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
__tests__/containers/message/__snapshots__/Message.stories.storyshot
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.