diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-10-24 13:55:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-10-24 13:55:07 +0200 |
commit | 7728e2469fdf49307231d57a9fc5a2cf60aa535a (patch) | |
tree | 3ad3af847ed6cb61d88e3723b136b6ceef81253e /mod/mod-ci-github.cxx | |
parent | a5fab430e168c25bea0bb6a5a00dbd4c6bf0e938 (diff) |
Review
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r-- | mod/mod-ci-github.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 5c9bdc4..c1c31ae 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -704,13 +704,12 @@ namespace brep // // Distinguish between local and remote PRs by comparing the head and base - // repositories' full names (which look like - // <username>/<repository-name>). + // repositories' paths. // - enum service_data::kind kind (pr.pull_request.head_fullname == - pr.pull_request.base_fullname - ? service_data::local - : service_data::remote); + enum service_data::kind kind ( + pr.pull_request.head_path == pr.pull_request.base_path + ? service_data::local + : service_data::remote); // Note that check_sha will be set later, in build_unloaded_pre_check(). // |