Skip to content

Commit

Permalink
Fix string to compare and message.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Oct 30, 2024
1 parent ba1f333 commit dc3af04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actions/package-size/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ runs:
with:
issue-number: ${{ inputs.pr_number }}
comment-author: 'github-actions[bot]'
body-includes: '${{ inputs.package_name }} report'
body-includes: '${{ inputs.package_name }} size report'

- name: Create comment
if: steps.fc.outputs.comment-id == '' && github.event_name == 'pull_request' && matrix.version == '21'
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{ inputs.pr_number }}
body: |
${{ inputs.package_name }} report
${{ inputs.package_name }} size report
This is the brotli compressed size of the ESM build.
Size: ${{ env.PACK_SIZE }} bytes
Expand All @@ -52,7 +52,7 @@ runs:
comment-id: ${{ steps.fc.outputs.comment-id }}
edit-mode: replace
body: |
${{ inputs.package_name }} report
${{ inputs.package_name }} size report
This is the brotli compressed size of the ESM build.
Size: ${{ env.PACK_SIZE }} bytes
Expand Down

0 comments on commit dc3af04

Please sign in to comment.