Skip to content

Commit f19ae63

Browse files
remove PAT (#92)
1 parent ba7a296 commit f19ae63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/refreshTools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ TOOLS_MARKER_FILE="$MARKER_DIR/tools"
1313
sudo mkdir -p "$MARKER_DIR"
1414

1515
# Fetch the latest release information
16-
LATEST_RELEASE=$(curl -s -H "Authorization: token $TEMPLATE_PAT" https://api.github.com/repos/github/spark-template/releases/latest)
16+
LATEST_RELEASE=$(curl -s https://api.github.com/repos/github/spark-template/releases/latest)
1717

1818
# Check if marker file exists and has the same release ID
1919
RELEASE_ID=$(echo "$LATEST_RELEASE" | jq -r '.id')
@@ -28,7 +28,7 @@ TEMP_DIR=$(mktemp -d)
2828
cd $TEMP_DIR
2929

3030
DOWNLOAD_URL=$(echo "$LATEST_RELEASE" | jq -r '.assets[0].url')
31-
curl -L -o dist.zip -H "Authorization: token $TEMPLATE_PAT" -H "Accept: application/octet-stream" "$DOWNLOAD_URL"
31+
curl -L -o dist.zip -H "Accept: application/octet-stream" "$DOWNLOAD_URL"
3232

3333
unzip -o dist.zip
3434
rm dist.zip

0 commit comments

Comments
 (0)