GitLab personal, project or group access token: glpat- then at least twenty characters of the token alphabet. The lookahead pins the end so a longer token is taken whole rather than truncated to twenty. GitLab's other prefixes (gldt-, glrt-, glsoat-) are different objects and are not covered.
Label: GITLAB_TOKEN
\bglpat-[A-Za-z0-9_-]{20,}(?![A-Za-z0-9_-])
Le pipeline échoue avec glpat-AbCdEfGhIjKlMnOpQrSt dans les variables. → glpat-AbCdEfGhIjKlMnOpQrStGITLAB_TOKEN=glpat-0123456789abcdefghij0123456789 → glpat-0123456789abcdefghij0123456789glpat-courtglpat_AbCdEfGhIjKlMnOpQrStTags: international, secrets, software-dev