CI: run bundlesize only for pushes.

This commit is contained in:
XhmikosR 2019-08-12 09:28:47 +03:00
parent cd20ef09f4
commit 3130288ba6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Run bundlesize
run: npm run bundlesize
if: matrix.node == 10 && github.repository == 'twbs/bootstrap'
if: matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env:
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"