addListener and removeListener should be only invoked on truthy values #2514
Workflow file for this run
This file contains 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: Compressed Size | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
checks: write # for preactjs/compressed-size-action to create and update the checks | |
contents: read # for actions/checkout to fetch code | |
issues: write # for preactjs/compressed-size-action to create comments | |
pull-requests: write # for preactjs/compressed-size-action to write a PR review | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3.0.0 | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |