Skip to content

Use PATs weekly to prevent expiration - #105

Merged
blag merged 1 commit into
StackStorm-Exchange:masterfrom
cognifloyd:use-pats-weekly
Feb 9, 2021
Merged

blag merged 1 commit into
StackStorm-Exchange:masterfrom
cognifloyd:use-pats-weekly

Conversation

@cognifloyd

@cognifloyd cognifloyd commented Feb 9, 2021 •

Copy link
Copy Markdown
Member

PATs expire when unused for a year: https://hub.lumenfield.workmunity/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

blag commented Feb 9, 2021

Copy link
Copy Markdown
Contributor

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