fix: nest trashcan and zoom as separate focus trees #4389
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
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - edited | |
| name: commit lint & label | |
| jobs: | |
| commit-lint: | |
| runs-on: ubuntu-latest | |
| # translatewiki PRs are retitled and labelled by translatewiki.yml, so | |
| # skip them here to avoid a spurious commit-lint failure on their raw title. | |
| if: ${{ !(github.event.pull_request.user.login == 'translatewiki' && github.event.pull_request.head.ref == 'translatewiki') }} | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| permissions: | |
| pull-requests: read | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check PR title | |
| id: check-pr-title | |
| run: echo "$PR_TITLE" | npx commitlint --verbose | |
| label: | |
| runs-on: ubuntu-latest | |
| # translatewiki PRs are labelled by translatewiki.yml instead. | |
| if: ${{ !(github.event.pull_request.user.login == 'translatewiki' && github.event.pull_request.head.ref == 'translatewiki') }} | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: bcoe/conventional-release-labels@v1 | |
| with: | |
| type_labels: | |
| '{"feat": "PR: feature", "fix": "PR: fix", "breaking": "breaking | |
| change", "chore": "PR: chore", "docs": "PR: docs", "refactor": "PR: | |
| refactor", "revert": "PR: revert", "deprecate": "deprecation"}' | |
| ignored_types: '[]' |