Add warning to POST /runners endpoint
What does this MR do and why?
GitLab plans to enable a setting that disables registration tokens and POST /runners
will not work. Users will be able to re-enable this setting in projects and groups, but if registration tokens remain disabled and users can use the new POST /user/runners
endpoint instead.
This MR adds a warning to Register a new runner and redirects users to the new endpoint.
Related issues
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
n/a
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
n/a
Edited by Pedro Pombeiro