Run publish stage only after merged on the default branch

  1. The build, test stages will run on merge requests to the main branch, direct pushes to main branch and manual/scheduled triggers.
  2. The publish stage will run only after merge request is merged into the main branch

Merge request reports

Loading