youtube image
From YouTube: Speed Run: Verify CI - Restrict who can override variables

Description

Walk-through of how to update your project settings (via API) to only allow users with Maintainer role to change variables when manually running a pipeline.

Documentation referenced in this video:
https://docs.gitlab.com/ee/ci/variables/#restrict-who-can-override-variables
https://docs.gitlab.com/ee/api/projects.html#edit-project