File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,14 @@ jobs:
77
77
curl -o coverage/line-coverage-badge.svg "https://img.shields.io/badge/line%20coverage-${LINE_COVERAGE_PERCENT}%25-brightgreen"
78
78
curl -o coverage/branch-coverage-badge.svg "https://img.shields.io/badge/branch%20coverage-${BRANCH_COVERAGE_PERCENT}%25-brightgreen"
79
79
80
- # Step 7: Commit Badges to the Current Branch
80
+ # Step 7: Commit Badges to the Current Branch
81
81
- name : Commit Coverage Badges
82
82
run : |
83
83
git config user.name "github-actions"
84
84
git config user.email "actions@github.com"
85
85
git add coverage/line-coverage-badge.svg
86
86
git add coverage/branch-coverage-badge.svg
87
- git commit -m "Update coverage badges"
87
+ git commit -m "Update coverage badges" || echo "No changes to commit"
88
88
git push origin HEAD
89
89
90
90
# Step 8: Upload Coverage Report
You can’t perform that action at this time.
0 commit comments