Skip to content

Commit 0898af0

Browse files
committed
Fix the workflow to prevent commit coverage badge if it's a PR
1 parent 8826fac commit 0898af0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/maven.yml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
name: jacoco-report
4747
path: target/site/jacoco/
4848
- name: Commit and push
49+
if: github.event_name != 'pull_request'
4950
run: |
5051
cd badges
5152
if [[ `git status --porcelain *.svg` ]]; then

0 commit comments

Comments
 (0)