Preventing Dependabot to publish unit test results
This commit is contained in:
parent
5e7e66b18c
commit
e8009953d6
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -29,6 +29,8 @@ jobs:
|
||||
run: ./gradlew clean test $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false --stacktrace
|
||||
- name: Publish Unit Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||
if: always()
|
||||
if: always() &&
|
||||
github.event.sender.login != 'dependabot[bot]' &&
|
||||
( github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository )
|
||||
with:
|
||||
files: ./**/build/test-results/**/*.xml
|
||||
|
Loading…
x
Reference in New Issue
Block a user