Only report coverage on master
@@ -48,6 +48,7 @@ jobs:
run: mvn --batch-mode install -am jacoco:report ${{ matrix.maven-args }}
- name: Report coverage
+ if: ${{ github.event_name == 'push' && github.ref == 'master' }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: mvn --batch-mode coveralls:report
