StackStorm-Exchange / ci

Various scripts and utilities for StackStorm Exchange CI pipeline.
5 stars 18 forks source link

Use PATs weekly to prevent expiration #105

Closed cognifloyd closed 3 years ago

cognifloyd commented 3 years ago

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.

blag commented 3 years ago

1000000x yes.