We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e286cd2 + 97d16b1 commit a541d36Copy full SHA for a541d36
.github/workflows/sync-extension.yml
@@ -41,8 +41,10 @@ jobs:
41
TAG="${{ github.event.client_payload.release_tag }}"
42
else
43
# Scheduled check - get latest release
44
- HTTP_CODE=$(curl -s -o latest_release.json -w "%{http_code}" \
+ HTTP_CODE=$(curl -L -s -o latest_release.json -w "%{http_code}" \
45
-H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \
46
+ -H "Accept: application/vnd.github+json" \
47
+ -H "X-GitHub-Api-Version: 2022-11-28" \
48
"https://api.github.com/repos/${{ secrets.SENTIENCE_CHROME_REPO }}/releases/latest")
49
50
if [ "$HTTP_CODE" != "200" ]; then
0 commit comments