Skip to content

Commit a541d36

Browse files
authored
Merge pull request #183 from Predicate-Labs/fix_sync
fix sync
2 parents e286cd2 + 97d16b1 commit a541d36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/sync-extension.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
TAG="${{ github.event.client_payload.release_tag }}"
4242
else
4343
# Scheduled check - get latest release
44-
HTTP_CODE=$(curl -s -o latest_release.json -w "%{http_code}" \
44+
HTTP_CODE=$(curl -L -s -o latest_release.json -w "%{http_code}" \
4545
-H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \
46+
-H "Accept: application/vnd.github+json" \
47+
-H "X-GitHub-Api-Version: 2022-11-28" \
4648
"https://api.github.com/repos/${{ secrets.SENTIENCE_CHROME_REPO }}/releases/latest")
4749
4850
if [ "$HTTP_CODE" != "200" ]; then

0 commit comments

Comments
 (0)