Skip to content

Commit d9d2fbe

Browse files
committed
Try to edit comment, and if it cannot be edited, then create it.
1 parent 3fa30fe commit d9d2fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/browser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
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 --edit-last $PR_NUMBER -b "@launchdarkly/js-client-sdk: $PR_SIZE"
47+
gh pr comment --edit-last $PR_NUMBER -b "@launchdarkly/js-client-sdk: $PR_SIZE" || gh pr comment $PR_NUMBER -b "@launchdarkly/js-client-sdk: $PR_SIZE"
4848
[ $PR_SIZE -le 25000 ] || exit 1

0 commit comments

Comments
 (0)