Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# NOTE: 'steps.auth.outputs.auth_token' will be a federated authentication
# token, it does not correspond to the service account. To get a token for
# the service account, specify the 'token_format' parameter and use the
# 'accesss_token' output.
# 'access_token' output.
#
# - uses: 'google-github-actions/auth@v3'
# with:
Expand Down
2 changes: 1 addition & 1 deletion src/client/workload_identity_federation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class WorkloadIdentityFederationClient extends Client implements AuthClie
},
};

// Only request impersonation if a service account was given, otherwise use
// Only request impersonation if a service account was given; otherwise, use
// the WIF identity directly.
if (this.#serviceAccount) {
const impersonationURL = `${this._endpoints.iamcredentials}/projects/-/serviceAccounts/${this.#serviceAccount}:generateAccessToken`;
Expand Down