Issues
Issues copied to clipboard
Updating a step template on a branch protected deployment process fails silently
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
- Create a step template
- Create a version controlled project with the step template used in the deployment process
- In version control settings, select 'Default branch is protected' and save
- Attempt to update the step template in the deployment process of the default branch
- An error is returned from the API but no error is shown on the UI
Error and Stacktrace
"refs/heads/main is a protected branch. Cannot commit to protected branches. Please create a new branch before committing."
More Information
Workaround
View the console or network call to view the error.