Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ jobs:
echo "Using extension release tag from input: $TAG"
else
echo "No extension_release_tag provided. Resolving latest release tag from $REPO..."
HTTP_CODE=$(curl -s -o latest_release.json -w "%{http_code}" \
HTTP_CODE=$(curl -L -s -o latest_release.json -w "%{http_code}" \
-H "Authorization: token $TOKEN" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$REPO/releases/latest")

if [ "$HTTP_CODE" != "200" ]; then
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/sync-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
else
# Scheduled check - get latest release
# Note: This also needs a token with access to the private repo
HTTP_CODE=$(curl -s -o latest_release.json -w "%{http_code}" \
HTTP_CODE=$(curl -L -s -o latest_release.json -w "%{http_code}" \
-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/${{ secrets.SENTIENCE_CHROME_REPO }}/releases/latest")

if [ "$HTTP_CODE" != "200" ]; then
Expand Down
Loading