diff --git a/.github/workflows/sync-extension.yml b/.github/workflows/sync-extension.yml index adaa219..c54ec25 100644 --- a/.github/workflows/sync-extension.yml +++ b/.github/workflows/sync-extension.yml @@ -83,8 +83,10 @@ jobs: echo "⬇️ Fetching release info for $TAG from $REPO..." # Capture response to file for debugging - HTTP_CODE=$(curl -s -w "%{http_code}" -o release.json \ + HTTP_CODE=$(curl -L -s -w "%{http_code}" -o release.json \ -H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ "https://api.github.com/repos/$REPO/releases/tags/$TAG") if [ "$HTTP_CODE" != "200" ]; then