From f24373699e6004ec0806f88b1ee78190f0821924 Mon Sep 17 00:00:00 2001 From: Trenton Holmes Date: Mon, 14 Mar 2022 16:21:28 -0700 Subject: [PATCH] Disables coveralls step for dependabot branches/pulls --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a02f55484..55fc06d7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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