jazzsequence/Check Token Expiration
Given a manually-set date passed to the action settings, checks if a given GitHub Personal Access Token has expired.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| expiration | The date that the token is set to expire. | yes | — |
| token | The token to check. | yes | — |
| token-name | How the token is identified. This is helpful (but not required) to provide identifying information about which token is expiring. | no | — |
| warn-days | The number of days before the token expires to warn. | no | 30 |
| error-early | If true, trigger an error (failure) before the token has actually expired. Uses the warn-days setting to determine how many days before the token expires to trigger the error. | no | false |
Outputs
no outputs