message: build: Only run size limit on master or PRs
diff: @@ -116,7 +116,8 @@ jobs:
  key: ${{ env.BUILD_CACHE_KEY }}
  - name: Check bundle sizes
  uses: getsentry/size-limit-action@v3
  - if: github.ref != 'refs/release/**'
  + # Only run size check on master or pull requests
  + if: github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
  with:
  github_token: ${{ secrets.GITHUB_TOKEN }}
  skip_step: build
  