Skip to content

Commit 0cc045a

Browse files
authored
Merge branch 'main' into feat/ad-user-group
2 parents 79c3542 + 393436d commit 0cc045a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ciPipeline/ciPipeline.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function getInitData(
5454
webhookEvents: pipelineMetaConfig.result.webhookEvents,
5555
ciPipelineSourceTypeOptions: pipelineMetaConfig.result.ciPipelineSourceTypeOptions,
5656
webhookConditionList: pipelineMetaConfig.result.webhookConditionList,
57-
triggerType: TriggerType.Auto,
57+
triggerType: window._env_.DEFAULT_CI_TRIGGER_TYPE_MANUAL ? TriggerType.Manual : TriggerType.Auto,
5858
beforeDockerBuildScripts: [],
5959
afterDockerBuildScripts: [],
6060
preBuildStage: emptyStepsData(),

0 commit comments

Comments
 (0)