Skip to content

match git@ as well in repo url

Warren Gifford requested to merge wbezuide/ci/repo-regex-fix into main

Created by: burmudar

The old regex only matched when there was a protocol. This changes it to accept the ssh format of a repo url as well

Example: [email protected]:sourcegraph/sourcegraph.git https://github.com/sourcegraph/sourcegraph git://github.com/sourcegraph/sourcegraph

Test plan

Manually tested green ci main-dry-run build

Merge request reports

Loading