1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

CI: run bundlesize only for pushes.

This commit is contained in:
XhmikosR
2019-08-12 09:28:47 +03:00
parent cd20ef09f4
commit 3130288ba6

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 }}"