File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ jobs:
120
120
121
121
- name : Generate badge
122
122
if : ${{ !cancelled() && (env.original_event == 'schedule' || env.original_event == 'workflow_dispatch') }}
123
- uses : jaywcjlove/generated-badges@main
123
+ uses : jaywcjlove/generated-badges@v1.0.13
124
124
with :
125
125
label : Runtime Tests
126
126
status : ${{ job.status }}
@@ -132,6 +132,8 @@ jobs:
132
132
run : |
133
133
git config user.name "github-actions[bot]"
134
134
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
135
- git add --all
136
- git commit -m "Updated runtime tests badge"
137
- git push origin HEAD:gh-pages
135
+ if [[ `git status --porcelain` ]]; then
136
+ git add --all
137
+ git commit -m "Updated runtime tests badge"
138
+ git push origin HEAD:gh-pages
139
+ fi
You can’t perform that action at this time.
0 commit comments