Skip to content

Commit 3fa30fe

Browse files
committed
Try edit last.
1 parent 218b00a commit 3fa30fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/browser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
if: github.event_name == 'pull_request'
3838
run: sudo apt-get update && sudo apt-get install brotli
3939
- name: Check Package Size
40-
if: github.event_name == 'pull_request'
40+
if: github.event_name == 'pull_request' && matrix.version == '21'
4141
env:
4242
PR_NUMBER: ${{ github.event.number }}
4343
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
run: |
4545
brotli packages/sdk/browser/dist/index.js
4646
export PR_SIZE=$(stat -c %s packages/sdk/browser/dist/index.js.br)
47-
gh pr comment $PR_NUMBER -b "`@launchdarkly/js-client-sdk` size: $PR_SIZE"
47+
gh pr comment --edit-last $PR_NUMBER -b "@launchdarkly/js-client-sdk: $PR_SIZE"
4848
[ $PR_SIZE -le 25000 ] || exit 1

0 commit comments

Comments
 (0)