Trigger the deploy-pipe from any branch

Summary

I used Auto Devops and Automatic deployment to staging, manual deployment to production. I push the code to any branch, it will trigger deploy. but the docs describe master branch is directly deployed to staging.

Automatic deployment to staging, manual deployment to production: Sets the STAGING_ENABLED and INCREMENTAL_ROLLOUT_MODE variables to 1 and manual. This means:

master branch is directly deployed to staging.

Manual actions are provided for incremental rollout to production

Steps to reproduce

  1. New Project from template Ruby on Rails
  2. Config the Auto devops
  3. git clone git@...
  4. git checkout -b test-1 from master
  5. git push --set-upstream origin test-1

Example Project

What is the current bug behavior?

trigger the pipe from any branch

What is the expected correct behavior?

I hope it trigger the master, this was the case in previous version of Gitlab

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes

Assignee Loading
Time tracking Loading