Skip to content

Commit 6f10930

Browse files
pauldambraclaude
andcommitted
ci: fix bundle size reporting on PRs
- Add pull-requests: write permission so compressed-size-action can post comments - Add strip-hash to normalize content-hashed filenames across builds Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d90db42 commit 6f10930

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
concurrency: ${{ github.workflow }}-${{ github.ref }}
1010

11+
permissions:
12+
pull-requests: write
13+
1114
jobs:
1215
release:
1316
name: Tests
@@ -47,6 +50,7 @@ jobs:
4750
build-script: "build:all"
4851
compression: "none"
4952
pattern: "**/dist/*.{js,cjs,mjs,css}"
53+
strip-hash: "-[A-Za-z0-9_]{8}\\."
5054

5155
- name: Upload diff images to GitHub
5256
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)