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

Expired CI PAT token #163

Open
dworthen opened this issue Jan 26, 2024 · 0 comments
Open

Expired CI PAT token #163

dworthen opened this issue Jan 26, 2024 · 0 comments
Labels

Comments

@dworthen
Copy link
Member

When the PAT token used in the CI environment expires the cron job begins to fail but throws an unintuitive stack trace:

image

I think the cron job/CLI should handle the cases of expired tokens or receiving 403 responses from endpoints and report that the app is unauthorized and that the token may have expired or have insufficient privileges and instruct users to create and store a new PAT token.

This is bound to be an issue when communities begin using g4g since tokens do not last forever and I think it would be helpful to catch and report the cases where tokens are insufficient or expired.

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

No branches or pull requests

1 participant