Preventing Dependabot to publish unit test results
This commit is contained in:
parent
5e7e66b18c
commit
e8009953d6
|
@ -29,6 +29,8 @@ jobs:
|
||||||
run: ./gradlew clean test $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false --stacktrace
|
run: ./gradlew clean test $CI_GRADLE_ARG_PROPERTIES -PallWarningsAsErrors=false --stacktrace
|
||||||
- name: Publish Unit Test Results
|
- name: Publish Unit Test Results
|
||||||
uses: EnricoMi/publish-unit-test-result-action@v1
|
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:
|
with:
|
||||||
files: ./**/build/test-results/**/*.xml
|
files: ./**/build/test-results/**/*.xml
|
||||||
|
|
Loading…
Reference in New Issue