Skip to content

Commit 3dba7d6

Browse files
committed
Update README to reference v3
1 parent 7c6bc77 commit 3dba7d6

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- uses: 'actions/checkout@v4'
6262
63-
- uses: 'google-github-actions/auth@v2'
63+
- uses: 'google-github-actions/auth@v3'
6464
with:
6565
project_id: 'my-project'
6666
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
@@ -249,7 +249,7 @@ regardless of the authentication mechanism.
249249
job_id:
250250
steps:
251251
- uses: 'actions/checkout@v4' # Must come first!
252-
- uses: 'google-github-actions/auth@v2'
252+
- uses: 'google-github-actions/auth@v3'
253253
```
254254
255255
- `export_environment_variables`: (Optional) If true, the action will export
@@ -434,7 +434,7 @@ These instructions use the [gcloud][gcloud] command-line tool.
434434
Actions YAML:
435435
436436
```yaml
437-
- uses: 'google-github-actions/auth@v2'
437+
- uses: 'google-github-actions/auth@v3'
438438
with:
439439
project_id: 'my-project'
440440
workload_identity_provider: '...' # "projects/123456789/locations/global/workloadIdentityPools/github/providers/my-repo"
@@ -598,7 +598,7 @@ These instructions use the [gcloud][gcloud] command-line tool.
598598
Actions YAML:
599599
600600
```yaml
601-
- uses: 'google-github-actions/auth@v2'
601+
- uses: 'google-github-actions/auth@v3'
602602
with:
603603
service_account: '...' # [email protected]
604604
workload_identity_provider: '...' # "projects/123456789/locations/global/workloadIdentityPools/github/providers/my-repo"
@@ -667,7 +667,7 @@ These instructions use the [gcloud][gcloud] command-line tool.
667667
the GitHub Actions YAML:
668668
669669
```yaml
670-
- uses: 'google-github-actions/auth@v2'
670+
- uses: 'google-github-actions/auth@v3'
671671
with:
672672
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' # Replace with the name of your GitHub Actions secret
673673
```

docs/EXAMPLES.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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'
@@ -45,7 +45,7 @@ jobs:
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'
@@ -56,7 +56,7 @@ jobs:
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]'
@@ -79,7 +79,7 @@ jobs:
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]'

docs/TROUBLESHOOTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
```yaml
2828
steps:
2929
- uses: 'actions/checkout@v4'
30-
- uses: 'google-github-actions/auth@v2'
30+
- uses: 'google-github-actions/auth@v3'
3131
```
3232
3333
1. Ensure the value for `workload_identity_provider` is the full _Provider_
@@ -266,7 +266,7 @@ Alternatively, you can use the `token_format` parameter of this action to
266266
generate an ID token directly:
267267

268268
```yaml
269-
- uses: 'google-github-actions/auth@v2'
269+
- uses: 'google-github-actions/auth@v3'
270270
with:
271271
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
272272
service_account: ${{ secrets.WIF_SERVICE_ACCOUNT }}

0 commit comments

Comments
 (0)