github / webpack-bundlesize-compare-action

A github action that outputs bundlesize comparison tables for pull requests
MIT License
78 stars 19 forks source link

Add permissions to workflow #567

Closed jibrang closed 1 month ago

jibrang commented 1 month ago

I am adding permissions to the workflow as described in the code scanning alert: https://github.com/github/webpack-bundlesize-compare-action/security/code-scanning/2

github-actions[bot] commented 1 month ago

Bundle Stats — With chunk and module information

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
2 1.98 MB 0%
Changeset File | Δ | Size ---- | - | ---- `src/client/this/file/has/a/long/name/so-that-it-will-hopefully-wrap.tsx` | 🆕 +2.72 kB | 0 B → 2.72 kB `src/client/this-file-was-added.ts` | 🆕 +1.46 kB | 0 B → 1.46 kB `src/client/this-is-another-file-with-a-long-name-to-test-the-table-sizing.tsx` | 🆕 +1.04 kB | 0 B → 1.04 kB `src/client/helpers/this-file-is-much-larger.ts` | 📈 +11.66 kB (+865.77%) | 1.35 kB → 13.01 kB `src/client/this-file-grew-larger.tsx` | 📈 +200 B (+35.59%) | 562 B → 762 B `src/client/helpers/this-file-grew-smaller.ts` | 📉 -200 B (-7.94%) | 2.46 kB → 2.26 kB `src/client/this-file-is-much-smaller.tsx` | 📉 -11.66 kB (-99.92%) | 11.67 kB → 10 B `src/client/routes.tsx` | 🔥 -2.72 kB (-100%) | 2.72 kB → 0 B `src/client/this-file-will-be-deleted.ts` | 🔥 -1.46 kB (-100%) | 1.46 kB → 0 B `src/client/render-memex.tsx` | 🔥 -1.04 kB (-100%) | 1.04 kB → 0 B
View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- app.bundle.js | 1.98 MB | 0% manifest.json | 91 B | 0%
github-actions[bot] commented 1 month ago

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 → 2 1.34 MB → 1.29 MB (-53.65 kB)
386.44 kB → N/A (gzip)
-3.91%
View detailed bundle breakdown
**Added** No assets were added **Removed** Asset | File Size | % Changed ----- | --------- | --------- 296.chunk.js | 124.57 kB → 0 B (-124.57 kB)
35.05 kB → 0 B (gzip) | -100% 288.chunk.js | 57.24 kB → 0 B (-57.24 kB)
16.33 kB → 0 B (gzip) | -100% 920.chunk.js | 54.98 kB → 0 B (-54.98 kB)
17.08 kB → 0 B (gzip) | -100% 912.chunk.js | 44.37 kB → 0 B (-44.37 kB)
14.31 kB → 0 B (gzip) | -100% 699.chunk.js | 26.39 kB → 0 B (-26.39 kB)
6.14 kB → 0 B (gzip) | -100% **Bigger** Asset | File Size | % Changed ----- | --------- | --------- app.bundle.js | 1.04 MB → 1.29 MB (+254.35 kB)
297.38 kB → N/A (gzip) | +23.91% **Smaller** Asset | File Size | % Changed ----- | --------- | --------- manifest.json | 551 B → 91 B (-460 B)
151 B → N/A (gzip) | -83.48% **Unchanged** No assets were unchanged
github-actions[bot] commented 1 month ago

Bundle Stats — Flipped around

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
2 → 7 1.29 MB → 1.34 MB (+53.65 kB)
N/A → 386.44 kB (gzip)
+4.07%
View detailed bundle breakdown
**Added** Asset | File Size | % Changed ----- | --------- | --------- 296.chunk.js | 0 B → 124.57 kB (+124.57 kB)
0 B → 35.05 kB (gzip) | - 288.chunk.js | 0 B → 57.24 kB (+57.24 kB)
0 B → 16.33 kB (gzip) | - 920.chunk.js | 0 B → 54.98 kB (+54.98 kB)
0 B → 17.08 kB (gzip) | - 912.chunk.js | 0 B → 44.37 kB (+44.37 kB)
0 B → 14.31 kB (gzip) | - 699.chunk.js | 0 B → 26.39 kB (+26.39 kB)
0 B → 6.14 kB (gzip) | - **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- manifest.json | 91 B → 551 B (+460 B)
N/A → 151 B (gzip) | +505.49% **Smaller** Asset | File Size | % Changed ----- | --------- | --------- app.bundle.js | 1.29 MB → 1.04 MB (-254.35 kB)
N/A → 297.38 kB (gzip) | -19.29% **Unchanged** No assets were unchanged
github-actions[bot] commented 1 month ago

Bundle Stats — Non existent

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 0 B 0%
View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** No assets were unchanged
github-actions[bot] commented 1 month ago

Bundle Stats — No changes

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 1.34 MB
386.44 kB
0%
View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- app.bundle.js | 1.04 MB
297.38 kB | 0% 296.chunk.js | 124.57 kB
35.05 kB | 0% 288.chunk.js | 57.24 kB
16.33 kB | 0% 920.chunk.js | 54.98 kB
17.08 kB | 0% 912.chunk.js | 44.37 kB
14.31 kB | 0% 699.chunk.js | 26.39 kB
6.14 kB | 0% manifest.json | 551 B
151 B | 0%
github-actions[bot] commented 1 month ago

Bundle Stats — With describe-assets: 'none'

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 → 2 1.34 MB → 1.29 MB (-53.65 kB)
386.44 kB → N/A (gzip)
-3.91%
View detailed bundle breakdown
github-actions[bot] commented 1 month ago

Bundle Stats — With describe-assets: 'changed-only'

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
7 1.34 MB
386.44 kB
0%
View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller