chore(6635): validate TokenBalancesPoller isolation and AssetPollingContext memoization #167377
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: Check template and add labels | |
| on: | |
| issues: | |
| types: [opened, edited, labeled, unlabeled, reopened] | |
| pull_request_target: | |
| types: [opened, edited, labeled, unlabeled, reopened, synchronize] | |
| merge_group: | |
| jobs: | |
| check-template-and-add-labels: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| if: > | |
| github.event_name == 'issues' || | |
| (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name == github.repository) | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout and setup environment | |
| uses: MetaMask/action-checkout-and-setup@v3 | |
| with: | |
| is-high-risk-environment: false | |
| skip-allow-scripts: true | |
| - name: Get access token | |
| id: get-token | |
| uses: MetaMask/github-tools/.github/actions/get-token@v1 | |
| with: | |
| token-exchange-url: ${{ vars.TOKEN_EXCHANGE_URL }} | |
| permissions: | | |
| issues: write | |
| members: read | |
| pull_requests: write | |
| - name: Check template and add labels | |
| id: check-template-and-add-labels | |
| env: | |
| LABEL_TOKEN: ${{ steps.get-token.outputs.token }} | |
| run: npm run check-template-and-add-labels |