2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- name: Run bundlesize - name: Run bundlesize
run: npm 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: env:
BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}" BUNDLESIZE_GITHUB_TOKEN: "${{ secrets.BUNDLESIZE_GITHUB_TOKEN }}"