opti: skip redundant avatar layer weight writes and cache animator layer indices #4797
Workflow file for this run
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: 'Auto Assign Reviewers' | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, ready_for_review] | |
| jobs: | |
| detect-pr-type: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| is-feature: ${{ steps.check.outputs.is-feature }} | |
| steps: | |
| - name: Check PR type | |
| id: check | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const title = context.payload.pull_request.title || ''; | |
| const isAutoReview = /^(fix|chore)(\(.*?\))?!?:/i.test(title); | |
| core.setOutput('is-feature', (!isAutoReview).toString()); | |
| assign-devs: | |
| needs: detect-pr-type | |
| if: needs.detect-pr-type.outputs.is-feature == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: kentaro-m/auto-assign-action@v2.0.0 | |
| with: | |
| configuration-path: '.github/auto_assign_config_dev.yml' | |
| assign-qa: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: kentaro-m/auto-assign-action@v2.0.0 | |
| with: | |
| configuration-path: '.github/auto_assign_config_qa.yml' |