]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
CI: run bundlesize only for pushes.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 12 Aug 2019 06:28:47 +0000 (09:28 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 12 Aug 2019 19:00:56 +0000 (22:00 +0300)
.github/workflows/test.yml

index a26467a77a9559a123e47f507fa6912d05ce4e85..d81ed64727bda51cc27e55aff321d51ab7ce5f8e 100644 (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 }}"