oss-review-toolkit / ort-ci-gitlab

Use ORT in your GitLab pipelines
Apache License 2.0
13 stars 16 forks source link

Determine config repo's default branch before fetching it. #13

Closed zhernovs closed 2 years ago

zhernovs commented 2 years ago

Instead of setting init.defaultBranch to master, determine default branch with git remote if ORT_CONFIG_REVISION was not set.

Multiline (- |) is here because otherwise semicolon from sed brakes yml syntax.

Signed-off-by: Andriy Zhernovskyi ext-andriy.zhernovskyi@here.com