Skip to content

Commit

Permalink
Update google.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 authored Jan 24, 2024
1 parent ea2ea5c commit 2114fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/google.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
scopes='https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.customer.readonly'
token=$(gcloud auth print-access-token \
token="$(gcloud auth print-access-token \
--impersonate-service-account ${SA} \
--scopes=${scopes})"
curl --fail https://www.googleapis.com/oauth2/v1/tokeninfo \
--header "Content-Type: application/x-www-form-urlencoded" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'X-Goog-User-Project: ${{ steps.auth.outputs.project_id }}'
--data "access_token=${token}" | jq -r .
Expand Down

0 comments on commit 2114fa9

Please sign in to comment.