Add branch name check to security-harness script
Description
The security fix must be done in the branch that name starts with security
, such as: security-rs-milestone-xss-12-6
since these branches cannot be pushed to the canonical repositories on gitlab.com/gitlab-org
. This helps ensure security merge requests don't get leaked prematurely docs.
Solution
Update the security-harness
script to verify that the branch has security-
prefix.
Edited by Dzmitry (Dima) Meshcharakou