Fix GitLabs CI (#965)

This commit is contained in:
Yuhong Sun
2024-01-18 16:12:46 -08:00
committed by GitHub
parent 1670d923aa
commit 5edc464c9a
6 changed files with 62 additions and 67 deletions

View File

@@ -108,7 +108,8 @@ const Main = () => {
formBody={
<>
<Text>
If you are using GitLab Cloud, keep the default value below</Text>
If you are using GitLab Cloud, keep the default value below
</Text>
<TextFormField
name="gitlab_url"
label="GitLab URL:"
@@ -131,7 +132,7 @@ const Main = () => {
})}
initialValues={{
gitlab_access_token: "",
gitlab_url: "https://gitlab.com"
gitlab_url: "https://gitlab.com",
}}
onSubmit={(isSuccess) => {
if (isSuccess) {

View File

@@ -45,7 +45,7 @@ export const ConnectorTitle = ({
"Repo",
`${typedConnector.connector_specific_config.project_owner}/${typedConnector.connector_specific_config.project_name}`
);
} else if (connector.source === "confluence") {
} else if (connector.source === "confluence") {
const typedConnector = connector as Connector<ConfluenceConfig>;
additionalMetadata.set(
"Wiki URL",

View File

@@ -356,7 +356,6 @@ export const GithubIcon = ({
);
};
export const GoogleDriveIcon = ({
size = 16,
className = defaultTailwindCSS,

View File

@@ -61,10 +61,10 @@ const SOURCE_METADATA_MAP: SourceMap = {
displayName: "Github",
category: SourceCategory.AppConnection,
},
gitlab :{
icon:GitlabIcon,
displayName:"Gitlab",
category:SourceCategory.AppConnection,
gitlab: {
icon: GitlabIcon,
displayName: "Gitlab",
category: SourceCategory.AppConnection,
},
confluence: {
icon: ConfluenceIcon,

View File

@@ -85,7 +85,6 @@ export interface GitlabConfig {
include_issues: boolean;
}
export interface GoogleDriveConfig {
folder_paths?: string[];
include_shared?: boolean;
@@ -199,7 +198,7 @@ export interface GithubCredentialJson {
}
export interface GitlabCredentialJson {
gitlab_url:string,
gitlab_url: string;
gitlab_access_token: string;
}