2020 id-token : ' write'
2121
2222 - id : ' auth'
23- uses : ' google-github-actions/auth@v2 '
23+ uses : ' google-github-actions/auth@v3 '
2424 with :
2525 project_id : ' my-project'
2626 workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4545 contents : ' read'
4646 id-token : ' write'
4747
48- - uses : ' google-github-actions/auth@v2 '
48+ - uses : ' google-github-actions/auth@v3 '
4949 with :
5050 project_id : ' my-project'
5151 workload_identity_provider : ' projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
5656 # the service account, specify the 'token_format' parameter and use the
5757 # 'accesss_token' output.
5858 #
59- # - uses: 'google-github-actions/auth@v2 '
59+ # - uses: 'google-github-actions/auth@v3 '
6060 # with:
6161 # workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
6262 # service_account: '[email protected] ' 7979 steps :
8080 - uses : ' actions/checkout@v4'
8181
82- - uses : ' google-github-actions/auth@v2 '
82+ - uses : ' google-github-actions/auth@v3 '
8383 with :
8484 credentials_json : ' ${{ secrets.GOOGLE_CREDENTIALS }}'
8585` ` `
@@ -100,7 +100,7 @@ jobs:
100100 - uses: 'actions/checkout@v4'
101101
102102 - id: 'auth'
103- uses: 'google-github-actions/auth@v2 '
103+ uses: 'google-github-actions/auth@v3 '
104104 with:
105105 project_id: 'my-project'
106106 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
@@ -136,7 +136,7 @@ jobs:
136136 - uses: 'actions/checkout@v4'
137137
138138 - id: 'auth'
139- uses: 'google-github-actions/auth@v2 '
139+ uses: 'google-github-actions/auth@v3 '
140140 with:
141141 token_format: 'access_token' # <--
142142 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
@@ -173,7 +173,7 @@ jobs:
173173 - uses: 'actions/checkout@v4'
174174
175175 - id: 'auth'
176- uses: 'google-github-actions/auth@v2 '
176+ uses: 'google-github-actions/auth@v3 '
177177 with:
178178 token_format: 'id_token' # <--
179179 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
@@ -223,7 +223,7 @@ jobs:
223223 - uses: 'actions/checkout@v4'
224224
225225 - id: 'auth'
226- uses: 'google-github-actions/auth@v2 '
226+ uses: 'google-github-actions/auth@v3 '
227227 with:
228228 workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
229229 service_account: '[email protected] '
0 commit comments