]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Disables coveralls step for dependabot branches/pulls
authorTrenton Holmes <holmes.trenton@gmail.com>
Mon, 14 Mar 2022 23:21:28 +0000 (16:21 -0700)
committerJohann Bauer <bauerj@bauerj.eu>
Sun, 20 Mar 2022 20:50:54 +0000 (21:50 +0100)
.github/workflows/ci.yml

index a02f55484315d5678a6d64f96d8b1c686ffe535f..55fc06d7ff59b8b77456117380a8321638555275 100644 (file)
@@ -141,7 +141,8 @@ jobs:
           pipenv run pytest
       -
         name: Publish coverage results
-        if: matrix.python-version == '3.9'
+        # Publish results for 3.9, and not for dependabot branches
+        if: matrix.python-version == '3.9' && !contains(github.ref, 'dependabot')
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         # https://github.com/coveralls-clients/coveralls-python/issues/251