@@ -0,0 +1,14 @@
|
||||
---
|
||||
'@backstage/plugin-rollbar-backend': patch
|
||||
'@backstage/plugin-scaffolder-backend': minor
|
||||
---
|
||||
|
||||
Fix some `spleling`.
|
||||
|
||||
The `scaffolder-backend` has a configuration schema change that may be breaking
|
||||
in rare circumstances. Due to a typo in the schema, the
|
||||
`scaffolder.github.visibility`, `scaffolder.gitlab.visibility`, and
|
||||
`scaffolder.bitbucket.visibility` did not get proper validation that the value
|
||||
is one of the supported strings (`public`, `internal` (not available for
|
||||
Bitbucket), and `private`). If you had a value that was not one of these three,
|
||||
you may have to adjust your config.
|
||||
@@ -1247,7 +1247,7 @@
|
||||
"required": ["accountToken"],
|
||||
"properties": {
|
||||
"accountToken": {
|
||||
"description": "The autentication token for accessing the Rollbar API",
|
||||
"description": "The authentication token for accessing the Rollbar API",
|
||||
"type": "string"
|
||||
},
|
||||
"organization": {
|
||||
@@ -1320,7 +1320,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
"visiblity": {
|
||||
"visibility": {
|
||||
"description": "The visibility to set on created repositories.",
|
||||
"enum": ["internal", "private", "public"],
|
||||
"type": "string"
|
||||
@@ -1337,7 +1337,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"visiblity": {
|
||||
"visibility": {
|
||||
"description": "The visibility to set on created repositories.",
|
||||
"enum": ["internal", "private", "public"],
|
||||
"type": "string"
|
||||
@@ -1369,7 +1369,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"visiblity": {
|
||||
"visibility": {
|
||||
"description": "The visibility to set on created repositories.",
|
||||
"enum": ["private", "public"],
|
||||
"type": "string"
|
||||
|
||||
Vendored
+1
-1
@@ -18,7 +18,7 @@ export interface Config {
|
||||
/** Configuration options for the rollbar-backend plugin */
|
||||
rollbar?: {
|
||||
/**
|
||||
* The autentication token for accessing the Rollbar API
|
||||
* The authentication token for accessing the Rollbar API
|
||||
* @see https://explorer.docs.rollbar.com/#section/Authentication
|
||||
*/
|
||||
accountToken: string;
|
||||
|
||||
+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