Skip to content

Use full timestamp for upstream branch name

Robert Speicher requested to merge rs-timestamped-branch-name into master

Previously we only used the date in the branch name, which resulted in multiple branches with the same name being created throughout the day. In the future we'll want to start fetching pipelines for a specific ref to ensure that we don't automatically accept an upstream merge request before a pipeline has been created for it, but we can only do that if every upstream branch name is actually unique. Otherwise we might be getting pipelines for merge requests earlier that day.

Related to https://gitlab.com/gitlab-org/release-tools/issues/246

@rymai Do you know if this will break the "existing upstream MR" behavior? I didn't see anywhere where we queried based on the branch name -- I think it's just labels and target branch -- but want to double check.

Merge request reports