fix: browser login should show login complete page instead of account… #1253
This file contains hidden or 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
| name: Generating Translations For strings | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-tasks: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Building phoenix | |
| env: | |
| CORE_AI_TRANSLATE_API_KEY: ${{ secrets.CORE_AI_TRANSLATE_API_KEY }} | |
| run: | | |
| npm ci | |
| npm run _translateStrings | |
| ls -al src/nls | |
| shell: bash | |
| - name: Check translation errors file | |
| id: check-errors | |
| run: | | |
| if [ -f src/nls/errors.txt ]; then | |
| echo "errors_found=true" >> $GITHUB_ENV | |
| else | |
| echo "errors_found=false" >> $GITHUB_ENV | |
| fi | |
| - name: Create Translation Pull Request | |
| id: cpr | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| commit-message: 'ci: update Translations' | |
| committer: GitHub <[email protected]> | |
| author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
| title: '[Translations BOT] Update String translations' | |
| add-paths: | | |
| src/nls/** | |
| body: | | |
| Update string translations | |
| - Auto-generated by `tranlate-languages.yml` action | |
| Errors: | |
| ${{ env.errors_found == 'true' && 'Errors: Some errors were found, please see GitHub Actions logs.' || 'No Translation Errors. All good!' }} | |
| - name: Check outputs | |
| if: ${{ steps.cpr.outputs.pull-request-number }} | |
| run: | | |
| echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
| echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |