This repository was archived by the owner on Jun 18, 2026. It is now read-only.
perf: eliminate Math.sqrt from force-directed repulsion hot path #126
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 Label PRs | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Label PR based on changed files | |
| uses: actions/labeler@v5 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| configuration-path: .github/labeler.yml | |
| sync-labels: true | |
| size-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Label PR by size | |
| uses: codelytv/pr-size-labeler@v1 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| xs_label: 'size/xs' | |
| xs_max_size: 10 | |
| s_label: 'size/s' | |
| s_max_size: 50 | |
| m_label: 'size/m' | |
| m_max_size: 200 | |
| l_label: 'size/l' | |
| l_max_size: 500 | |
| xl_label: 'size/xl' | |
| fail_if_xl: false |