File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,16 @@ jobs:
185
185
path : reports_repo/${{ env.report_dir }}
186
186
187
187
- name : " Push to report repo"
188
+ env :
189
+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
188
190
run : |
189
191
set -xe
190
192
# Make the redirect to the latest report.
191
193
echo "<html><head>" > reports_repo/latest.html
192
194
echo "<meta http-equiv='refresh' content='0;url=${{ env.url }}' />" >> reports_repo/latest.html
193
195
echo "<body>Coverage report redirect..." >> reports_repo/latest.html
194
196
# Make the commit message.
195
- echo "${{ env.total }}% - ${{ github.event.head_commit.message }} " > commit.txt
197
+ echo "${{ env.total }}% - $COMMIT_MESSAGE " > commit.txt
196
198
echo "" >> commit.txt
197
199
echo "${{ env.url }}" >> commit.txt
198
200
echo "${{ env.sha10 }}: ${{ env.branch }}" >> commit.txt
You can’t perform that action at this time.
0 commit comments