Skip to content

Commit 7730579

Browse files
committed
Remove leftover action conditions.
1 parent f2fefa7 commit 7730579

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

actions/package-size/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
body-includes: '${{ inputs.package_name }} size report'
3737

3838
- name: Create comment
39-
if: steps.fc.outputs.comment-id == '' && github.event_name == 'pull_request' && matrix.version == '21'
39+
if: steps.fc.outputs.comment-id == ''
4040
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
4141
with:
4242
issue-number: ${{ inputs.pr_number }}
@@ -46,7 +46,7 @@ runs:
4646
Size: ${{ env.PACK_SIZE }} bytes
4747
4848
- name: Update comment
49-
if: steps.fc.outputs.comment-id != '' && github.event_name == 'pull_request' && matrix.version == '21'
49+
if: steps.fc.outputs.comment-id != ''
5050
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
5151
with:
5252
comment-id: ${{ steps.fc.outputs.comment-id }}
@@ -58,6 +58,5 @@ runs:
5858
5959
- name: Check package size limit
6060
shell: bash
61-
if: github.event_name == 'pull_request' && matrix.version == '21'
6261
run: |
6362
[ $PACK_SIZE -le 25000 ] || exit 1

0 commit comments

Comments
 (0)