Skip to content

Commit

Permalink
Try to edit comment, and if it cannot be edited, then create it.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Oct 29, 2024
1 parent 3fa30fe commit d9d2fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
run: |
brotli packages/sdk/browser/dist/index.js
export PR_SIZE=$(stat -c %s packages/sdk/browser/dist/index.js.br)
gh pr comment --edit-last $PR_NUMBER -b "@launchdarkly/js-client-sdk: $PR_SIZE"
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"
[ $PR_SIZE -le 25000 ] || exit 1

0 comments on commit d9d2fbe

Please sign in to comment.