Display invalid wish list rolls (#11458) #537
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
| # This workflow runs whenever locale/en.json is updated on the master branch | |
| # It updates crowdin with new translation strings | |
| # and notifies the #i18n @i18n in Discord of the new translations. | |
| name: i18n upload bot | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - "src/locale/en.json" | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout DIM | |
| uses: actions/checkout@v5 | |
| - name: Sort en.json | |
| run: dimJSON="$(jq -S . src/locale/en.json)" && echo "${dimJSON}" > src/locale/en.json | |
| - name: Upload updated en.json to crowdin | |
| uses: crowdin/github-action@v2.10.0 | |
| with: | |
| upload_sources: true | |
| upload_translations: false | |
| project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | |
| token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
| env: | |
| CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
| CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: porcelain check | |
| uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| base: HEAD | |
| filters: | | |
| changed: | |
| - 'src/locale/en.json' |