1
0
Fork 0
mirror of synced 2026-06-05 12:18:19 +00:00

chore: document clock skew issue

This commit is contained in:
Seth Vargo 2022-05-16 09:59:39 -04:00
commit cf96743e5a
No known key found for this signature in database
GPG key ID: 9C01CC8AB5D3F179

View file

@ -101,6 +101,21 @@ with the Google Cloud IAM team][iam-feedback]. The only mitigation is to use
shorter repo names or shorter branch names.
## Token lifetime cannot exceed 1 hour
If you get an error like:
```text
The access token lifetime cannot exceed 3600 seconds.
```
it means that there is likely clock skew between where you are running the
`auth` GitHub Action and Google's servers. You can either install and configure
ntp pointed at time.google.com, or adjust the `access_token_lifetime` value to
something less than `3600s` to allow for clock skew (`3300s` would allow for 5
minutes of clock skew).
## Dirty git or bundled credentials
By default, the `auth` action exports credentials to the current workspace so