Skip to content

Commit 0c42c00

Browse files
#1806 - Ignoring test coverage for dependabot (#1868)
Ignore the test coverage when the pull requests are initiated by the dependabot.
1 parent 007adef commit 0c42c00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tests.yml

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
run: |
4949
make e2e-tests-api
5050
- name: Tests Coverage
51+
if: ${{ github.actor != 'dependabot[bot]' }}
5152
uses: slavcodev/coverage-monitor-action@v1
5253
with:
5354
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -84,6 +85,7 @@ jobs:
8485
run: |
8586
make e2e-tests-workers
8687
- name: Tests Coverage
88+
if: ${{ github.actor != 'dependabot[bot]' }}
8789
uses: slavcodev/coverage-monitor-action@v1
8890
with:
8991
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -137,6 +139,7 @@ jobs:
137139
run: |
138140
make e2e-tests-queue-consumers
139141
- name: Tests Coverage
142+
if: ${{ github.actor != 'dependabot[bot]' }}
140143
uses: slavcodev/coverage-monitor-action@v1
141144
with:
142145
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -164,6 +167,7 @@ jobs:
164167
run: |
165168
make backend-unit-tests
166169
- name: Tests Coverage
170+
if: ${{ github.actor != 'dependabot[bot]' }}
167171
uses: slavcodev/coverage-monitor-action@v1
168172
with:
169173
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)