Skip to content

Commit

Permalink
Merge pull request #325 from Open-Science-Community-Saudi-Arabia/fron…
Browse files Browse the repository at this point in the history
…tend-ui

Frontend UI
  • Loading branch information
sandygudie authored Feb 15, 2024
2 parents 611c93a + 7fcf319 commit 41e4868
Show file tree
Hide file tree
Showing 5 changed files with 4,957 additions and 545 deletions.
43 changes: 34 additions & 9 deletions .github/workflows/merge_crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
name: Automerge Crowdin
name: Extract and compile translation
on:
pull_request:
branches: [frontend-ui]
pull_request_target:
types:
- closed
branches:
- "frontend-ui"

jobs:
automerge:
if_merged:
if: github.event.pull_request.head.ref == 'l10n_frontend-ui' && github.event.pull_request.merged == true
name: Enter client directory
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- id: automerge
name: automerge
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.REPO_TOKEN }}"
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4

- name: Install dependencies
run: npm install

- name: Update source code
run: |
npm run extract
npm run compile
- name: Commit report
run: |
git config --global user.name 'Your Name'
git config --global user.email '[email protected]'
git add -A
git commit -am "Translation compiled and extracted"
git push
Loading

0 comments on commit 41e4868

Please sign in to comment.