+3
-3
@@ -22,14 +22,14 @@ export interface Config {
|
||||
/**
|
||||
* The visibility to set on created repositories.
|
||||
*/
|
||||
visiblity?: 'public' | 'internal' | 'private';
|
||||
visibility?: 'public' | 'internal' | 'private';
|
||||
};
|
||||
gitlab?: {
|
||||
api: { [key: string]: string };
|
||||
/**
|
||||
* The visibility to set on created repositories.
|
||||
*/
|
||||
visiblity?: 'public' | 'internal' | 'private';
|
||||
visibility?: 'public' | 'internal' | 'private';
|
||||
};
|
||||
azure?: {
|
||||
baseUrl: string;
|
||||
@@ -40,7 +40,7 @@ export interface Config {
|
||||
/**
|
||||
* The visibility to set on created repositories.
|
||||
*/
|
||||
visiblity?: 'public' | 'private';
|
||||
visibility?: 'public' | 'private';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export function createPublishAzureAction(options: {
|
||||
},
|
||||
sourcePath: {
|
||||
title:
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the respository.',
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository.',
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -184,13 +184,13 @@ export function createPublishBitbucketAction(options: {
|
||||
type: 'string',
|
||||
},
|
||||
repoVisibility: {
|
||||
title: 'Repository Visiblity',
|
||||
title: 'Repository Visibility',
|
||||
type: 'string',
|
||||
enum: ['private', 'public'],
|
||||
},
|
||||
sourcePath: {
|
||||
title:
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the respository.',
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository.',
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -67,13 +67,13 @@ export function createPublishGithubAction(options: {
|
||||
type: 'string',
|
||||
},
|
||||
repoVisibility: {
|
||||
title: 'Repository Visiblity',
|
||||
title: 'Repository Visibility',
|
||||
type: 'string',
|
||||
enum: ['private', 'public', 'internal'],
|
||||
},
|
||||
sourcePath: {
|
||||
title:
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the respository.',
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository.',
|
||||
type: 'string',
|
||||
},
|
||||
collaborators: {
|
||||
@@ -180,7 +180,7 @@ export function createPublishGithubAction(options: {
|
||||
repo,
|
||||
permission: 'admin',
|
||||
});
|
||||
// no need to add access if it's the person who own's the personal account
|
||||
// No need to add access if it's the person who owns the personal account
|
||||
} else if (access && access !== owner) {
|
||||
await client.repos.addCollaborator({
|
||||
owner,
|
||||
|
||||
@@ -44,13 +44,13 @@ export function createPublishGitlabAction(options: {
|
||||
type: 'string',
|
||||
},
|
||||
repoVisibility: {
|
||||
title: 'Repository Visiblity',
|
||||
title: 'Repository Visibility',
|
||||
type: 'string',
|
||||
enum: ['private', 'public', 'internal'],
|
||||
},
|
||||
sourcePath: {
|
||||
title:
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the respository.',
|
||||
'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository.',
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user