Skip to content

Commit e106bde

Browse files
committed
Update workflow
1 parent a496f99 commit e106bde

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/maven.yml

+10
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ jobs:
4545
with:
4646
name: jacoco-report
4747
path: target/site/jacoco/
48+
- name: Commit and push
49+
run: |
50+
cd badges
51+
if [[ `git status --porcelain *.svg` ]]; then
52+
git config --global user.name 'github-actions'
53+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
54+
git add *.svg
55+
git commit -m "Autogenerated JaCoCo coverage badge" *.svg
56+
git push
57+
fi
4858
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
4959
- name: Update dependency graph
5060
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 commit comments

Comments
 (0)