Summary:
I am experiencing an issue where I cannot add a specific repository to the whitelist for GitLab CI/CD job token permissions in my project. When I attempt to add a repository to the allowlist, I receive a “No results found” error, even though the repository exists. This prevents me from granting proper permissions for job tokens.
Steps to reproduce:
- Navigate to Settings > CI/CD > Job Token Permissions.
- Select “Only this project and any groups and projects in the allowlist.”
- Attempt to search for the repository
aurelienlair/security-tests
to add it to the allowlist. - The search returns No results found, despite the repository being present and accessible (as seen in my project list).
Expected behavior:
I should be able to add aurelienlair/security-tests
(or any other valid repository) to the allowlist for job token permissions without issues.
Actual behavior:
The repository is not found when searching, blocking me from adding it to the allowlist.
Additional details:
- Project settings screenshot (attached): Shows the “No results found” issue when trying to add the repository.
- Repository screenshot (attached): Confirms the existence of the
aurelienlair/security-tests
repository that should be added.
GitLab Version:
(Include the version of GitLab you’re using, if known).
Attachments:
- Screenshot of Job Token Permissions settings
- Screenshot of the repository details