diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a53f2408229f94..a9f11a361c4c10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -543,7 +543,9 @@ jobs: git push origin gh-pages - name: Build product size info - if: matrix.job != 'lint' && matrix.profile != 'fastci' + if: matrix.job != 'lint' && matrix.profile != 'fastci' && + github.repository == 'denoland/deno' && + (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) run: | du -hd1 "./target/${{ matrix.profile }}" du -ha "./target/${{ matrix.profile }}/deno"