Skip to content
Snippets Groups Projects

ci: allow forks to have different names

Merged Zygmunt Krynicki requested to merge zyga/oniro-docs:fix/project-name into main

When the fork of the "docs" repository is called something else, we need to refer to it by the real name to successfully perform the replacement for merge request pipelines.

Use some bash and CI_MERGE_REQUEST_SOURCE_PROJECT_PATH to find the bare name of the project. This works because the variable is re-interpolated by bash during job execution.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@huawei.com

Edited by Zygmunt Krynicki

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading