File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -200,10 +200,13 @@ jobs:
200
200
- name : Add VirusTotal Info to Release Notes
201
201
if : startsWith(github.ref, 'refs/tags/v')
202
202
run : |
203
- # get release notes
203
+ # github api url
204
204
url=https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/${{ steps.generate_release_notes.outputs.id }}
205
+
206
+ # get release notes
205
207
body=$(
206
208
curl \
209
+ -s \
207
210
-L \
208
211
-H "Accept: application/vnd.github+json" \
209
212
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
@@ -219,10 +222,11 @@ jobs:
219
222
name=$(sed -e 's/^\.\/scan\/\([^=]\+\)=.*/\1/' <<< "$line")
220
223
vturl=$(sed -e 's/.*=\(https.*\)/\1/' <<< "$line")
221
224
body+="* [$name]($vturl)$nl"
222
- done <<< "$a "
225
+ done <<< "${{ steps.virustotal.outputs.analysis }} "
223
226
224
227
# update release notes
225
228
curl \
229
+ -s \
226
230
-L \
227
231
-X PATCH \
228
232
-H "Accept: application/vnd.github+json" \
You can’t perform that action at this time.
0 commit comments