Skip to content

Commit 794236f

Browse files
authored
Merge pull request #184 from Predicate-Labs/fix_sync2
another fix for sync
2 parents a541d36 + 28b1521 commit 794236f

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
@@ -83,8 +83,10 @@ jobs:
8383
echo "⬇️ Fetching release info for $TAG from $REPO..."
8484
8585
# Capture response to file for debugging
86-
HTTP_CODE=$(curl -s -w "%{http_code}" -o release.json \
86+
HTTP_CODE=$(curl -L -s -w "%{http_code}" -o release.json \
8787
-H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \
88+
-H "Accept: application/vnd.github+json" \
89+
-H "X-GitHub-Api-Version: 2022-11-28" \
8890
"https://api.github.com/repos/$REPO/releases/tags/$TAG")
8991
9092
if [ "$HTTP_CODE" != "200" ]; then

0 commit comments

Comments
 (0)