Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PATs weekly to prevent expiration #105

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Feb 9, 2021

PATs expire when unused for a year: https://github.community/t/api-access-token-expiry/14522

So, we need to use it regularly. Adding an API hit to the weekly test run should keep the PAT active indefinitely.

Here we use the dependencies script so that it runs as early as possible each week before most other things might fail and kill the build.

Also, we use || true so that any PR runs can continue passing even if the PAT has expired.

PATs expire when unused for a year. So, we need to use it regularly.
Adding an API hit to the weekly test run should keep the PAT active
indefinitely.

Here we use the dependencies script so that it runs as early as possible
each week before most other things might fail and kill the build.

Also, we use `|| true` so that any PR runs can continue passing even
if the PAT has expired.
@blag
Copy link
Contributor

blag commented Feb 9, 2021

1000000x yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants