forked from UN-SPIDER/burn-severity-mapping-EO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove audience entirely. very confusing as it doesnt even seem that …
…the OIDC's audience needs to match that of the JWT provided by GA?
- Loading branch information
Showing
1 changed file
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,6 @@ jobs: | |
contents: 'read' | ||
id-token: 'write' | ||
|
||
steps: | ||
- name: Checkout actions-oidc-debugger | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: github/actions-oidc-debugger | ||
ref: main | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
path: ./.github/actions/actions-oidc-debugger | ||
- name: Debug OIDC Claims | ||
uses: ./.github/actions/actions-oidc-debugger | ||
with: | ||
audience: 'projects/YOUR_PROJECT_NUMBER/locations/global/workloadIdentityPools/YOUR_PROJECT_ID/providers/YOUR_WIF_PROVIDER_POOL_NAME' | ||
|
||
- name: Checkout | ||
uses: 'actions/checkout@v4' | ||
|
||
|
@@ -33,8 +20,8 @@ jobs: | |
with: | ||
workload_identity_provider: 'projects/dse-nps/locations/global/workloadIdentityPools/github/providers/oidc-provider' | ||
project_id: 'dse-nps' | ||
audience: '[email protected]' | ||
service_account: '[email protected]' | ||
token_format: 'access_token' | ||
access_token_lifetime: 300 | ||
|
||
- name: Build and Deploy | ||
run: | | ||
|