From efca1a4ab1e305f41c9783ea6e7546649d0433a5 Mon Sep 17 00:00:00 2001 From: Aaron Nickovich Date: Mon, 16 Aug 2021 11:59:54 -0700 Subject: [PATCH 1/2] Update writing custom actions documentation Signed-off-by: Aaron Nickovich --- docs/features/software-templates/writing-custom-actions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 53a90e2954..4131af59c8 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -132,6 +132,8 @@ want to have those as well as your new one, you'll need to do the following: ```ts import { createBuiltinActions } from '@backstage/plugin-scaffolder-backend'; +const integrations = ScmIntegrations.fromConfig(config); + const builtInActions = createBuiltinActions({ containerRunner, integrations, From 757a058aed7e0760f7308653e94c5601251c6a13 Mon Sep 17 00:00:00 2001 From: aaronnickovich Date: Mon, 16 Aug 2021 16:09:09 -0700 Subject: [PATCH 2/2] Update writing-custom-actions.md Adding missing import Signed-off-by: Aaron Nickovich --- docs/features/software-templates/writing-custom-actions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 4131af59c8..a5773a6aff 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -131,6 +131,7 @@ want to have those as well as your new one, you'll need to do the following: ```ts import { createBuiltinActions } from '@backstage/plugin-scaffolder-backend'; +import { ScmIntegrations } from '@backstage/integration'; const integrations = ScmIntegrations.fromConfig(config);