diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/report.api.md b/plugins/scaffolder-backend-module-bitbucket-cloud/report.api.md index 67c05a4ea5..b853023b07 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/report.api.md +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/report.api.md @@ -13,24 +13,6 @@ import { TemplateAction } from '@backstage/plugin-scaffolder-node'; const bitbucketCloudModule: BackendFeature; export default bitbucketCloudModule; -// @public -export function createBitbucketCloudBranchRestrictionAction(options: { - integrations: ScmIntegrationRegistry; -}): TemplateAction< - { - repoUrl: string; - kind: string; - branchMatchKind?: string | undefined; - branchType?: string | undefined; - pattern?: string | undefined; - value?: number | undefined; - users?: object[] | undefined; - groups?: object[] | undefined; - token?: string | undefined; - }, - JsonObject ->; - // @public export const createBitbucketPipelinesRunAction: (options: { integrations: ScmIntegrationRegistry; diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/index.ts b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/index.ts index 986df299d2..c4030c0b52 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/index.ts +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/index.ts @@ -16,4 +16,3 @@ export * from './bitbucketCloud'; export { createBitbucketPipelinesRunAction } from './bitbucketCloudPipelinesRun'; export * from './bitbucketCloudPullRequest'; -export * from './bitbucketCloudBranchRestriction'; diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/src/module.ts b/plugins/scaffolder-backend-module-bitbucket-cloud/src/module.ts index 3a9871f39c..4001c064da 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/src/module.ts +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/src/module.ts @@ -21,11 +21,11 @@ import { scaffolderActionsExtensionPoint, scaffolderAutocompleteExtensionPoint, } from '@backstage/plugin-scaffolder-node/alpha'; +import { createBitbucketCloudBranchRestrictionAction } from './actions/bitbucketCloudBranchRestriction'; import { createBitbucketPipelinesRunAction, createPublishBitbucketCloudAction, createPublishBitbucketCloudPullRequestAction, - createBitbucketCloudBranchRestrictionAction, } from './actions'; import { ScmIntegrations } from '@backstage/integration'; import { handleAutocompleteRequest } from './autocomplete/autocomplete';