Skip to content

Commit f763249

Browse files
committed
Fix github token in virustotal release workflow step
1 parent 06c9e09 commit f763249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
curl \
207207
-L \
208208
-H "Accept: application/vnd.github+json" \
209-
-H "Authorization: Bearer $GITHUB_TOKEN" \
209+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
210210
-H "X-GitHub-Api-Version: 2022-11-28" \
211211
$url \
212212
| jq -r .body
@@ -226,7 +226,7 @@ jobs:
226226
-L \
227227
-X PATCH \
228228
-H "Accept: application/vnd.github+json" \
229-
-H "Authorization: Bearer $GITHUB_TOKEN" \
229+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
230230
-H "X-GitHub-Api-Version: 2022-11-28" \
231231
-d "{\"body\": \"$body\"}" \
232232
$url

0 commit comments

Comments
 (0)