i18n: update dmu cn translations (#1147) #546
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
| # Runs on any merge commit that changes `netlog_defs` or raidboss triggers/timelines | |
| # Ensures `netlog_defs` analysis filters include all currently-in-use log lines (unless suppressed) | |
| name: Update Log Defs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'resources/netlog_defs.ts' | |
| - 'ui/raidboss/data/**' | |
| jobs: | |
| update-logdefs: | |
| name: Update Analysis Filters | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository == 'OverlayPlugin/cactbot' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: main | |
| - uses: ./.github/actions/setup-js-env | |
| - name: Run update script | |
| id: script | |
| run: | | |
| npm run update-logdefs | |
| - name: Render PR Template | |
| id: template | |
| # Note: This action has a literal `@v1` tag and release which is actively being updated. | |
| # If that status changes, we will have to specify an exact version to avoid getting the | |
| # outdated build. | |
| uses: chuhlomin/render-template@v1 | |
| with: | |
| template: .github/logdef_update_pr_template.md | |
| vars: | | |
| changelist: "${{ steps.script.outputs.changelist }}" | |
| - name: Create PR | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| commit-message: 'update netlog_defs filters' | |
| title: 'resources: Update netlog_defs filters (auto-generated)' | |
| body: ${{ steps.template.outputs.result }} | |
| branch: 'update-logdefs' |