Creating or retrying a CI job fails with a 403 for users that need to have a validated credit card
Summary
In the team we encounter the same issue for all team members. When an account is sign in from github it doesn't have access to the retry feature (403 error). When a standard gitlab user is added to the project with equals rights as the github user it has access to the retry feature.
Update the error message in the validation page from from the generic An error occurred while making the request to a descriptive message maybe something like this?
Steps to reproduce
Follow steps below OR see steps in Backend: Running manual job from pipeline throw... (#352846 - closed) which is a duplicate issue.
Sign in with a github account and press the retry button on a CI project, it should fail.
Example Project
https://gitlab.com/osbuild/ci/osbuild-composer
In this project, user faquin can retry the CI and user lavocatt can't. They are both maintainers.
What is the current bug behavior?
User with a github account gets a 403 error.
What is the expected correct behavior?
User with a github account should access the retry functionality
Relevant logs and/or screenshots
The different errors when a user from github tries to retry:
Proposal
In Backend: Add more detail to 403 error message w... (#346304 - closed) a more descriptive error message was to the API response. This issue is to update the frontend to display the new failure and not the generic existing failure.
Show the error message:
Billings|To use free CI/CD minutes on shared runners, you’ll need to validate your account with a credit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project.
Can be found here



