Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Updating a step template on a branch protected deployment process fails silently

Open susanpann opened this issue 6 months ago • 0 comments

Severity

Low

Version

2025.2.12568

Latest Version

I could reproduce the problem in the latest build

What happened?

On a version controlled project with default branch protections, updating the step template in the deployment process of the default branch fails silently. There is no indication in the UI that the 'Update & Commit' failed.

Reproduction

  1. Create a step template
  2. Create a version controlled project with the step template used in the deployment process
  3. In version control settings, select 'Default branch is protected' and save
  4. Attempt to update the step template in the deployment process of the default branch
  5. An error is returned from the API but no error is shown on the UI
Image

Error and Stacktrace

"refs/heads/main is a protected branch. Cannot commit to protected branches. Please create a new branch before committing."

More Information

Image

Workaround

View the console or network call to view the error.

susanpann avatar Jun 12 '25 08:06 susanpann