diff --git a/addons/isl-server/src/Repository.ts b/addons/isl-server/src/Repository.ts index 63a239612ad3f..19d792380615e 100644 --- a/addons/isl-server/src/Repository.ts +++ b/addons/isl-server/src/Repository.ts @@ -476,6 +476,7 @@ export class Repository { 'paths.default', 'github.pull_request_domain', 'github.preferred_submit_command', + 'phrevset.callsign', ]), ]); const pathsDefault = configs.get('paths.default') ?? ''; @@ -507,7 +508,7 @@ export class Repository { if (Internal.isMononokePath?.(pathsDefault)) { // TODO: where should we be getting this from? arcconfig instead? do we need this? const repo = pathsDefault.slice(pathsDefault.lastIndexOf('/') + 1); - codeReviewSystem = {type: 'phabricator', repo}; + codeReviewSystem = {type: 'phabricator', repo, callsign: configs.get('phrevset.callsign')}; } else if (pathsDefault === '') { codeReviewSystem = {type: 'none'}; } else { diff --git a/addons/isl/src/types.ts b/addons/isl/src/types.ts index 0a0b9a0baf8bd..efc77beb8cb78 100644 --- a/addons/isl/src/types.ts +++ b/addons/isl/src/types.ts @@ -200,6 +200,7 @@ export type CodeReviewSystem = | { type: 'phabricator'; repo: string; + callsign?: string; } | { type: 'none';