Cleanup personal access tokens
Some tests use gitlab-qa-user1
and gitlab-qa-user2
to create personal access tokens, but even after they expire they're still listed. This can lead to test failures when trying to use the personal access tokens API, as in https://gitlab.com/gitlab-org/gitlab/-/issues/457099#note_1871915474
Tasks
-
gitlab-org/gitlab!150396 (merged) updates a script that can be used to revoke (delete) PATs. -
gitlab-org/quality/pipeline-common!418 (merged) adds jobs to run the script in the cleanup scheduled pipelines
Edited by Mark Lapierre