Skip to content

Commit f7ca98b

Browse files
committed
ADFA-1859: Switch Google Drive auth to Workload Identity Federation
1 parent ae484cc commit f7ca98b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ jobs:
198198
FOLDER_ID="${{ secrets.GOOGLE_DRIVE_FOLDER }}"
199199
ACCESS_TOKEN="${{ steps.auth_drive.outputs.access_token }}"
200200
201+
echo "Debug: Checking authentication..."
202+
echo "Access token length: ${#ACCESS_TOKEN}"
203+
echo "Service Account: ${{ secrets.IDENTITY_EMAIL }}"
204+
201205
ALL_FILES=$(curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
202206
"https://www.googleapis.com/drive/v3/files?q=\"${FOLDER_ID}\"+in+parents&fields=files(id,name,mimeType,modifiedTime)&supportsAllDrives=true")
203207

0 commit comments

Comments
 (0)