From d12c302bd0f615ea945fdf5dc866f7906c7f0a40 Mon Sep 17 00:00:00 2001 From: Siddhi Khandelwal Date: Mon, 9 Feb 2026 11:23:38 +0530 Subject: [PATCH 1/4] docs: add examples for filtering Actions Service actions Signed-off-by: Siddhi Khandelwal --- docs/backend-system/core-services/actions.md | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/backend-system/core-services/actions.md b/docs/backend-system/core-services/actions.md index ddb28b4da7..b7e545f038 100644 --- a/docs/backend-system/core-services/actions.md +++ b/docs/backend-system/core-services/actions.md @@ -38,6 +38,33 @@ backend: pluginSources: - catalog ``` +### Restricting action sources by plugin + +The `pluginSources` configuration limits which plugins are allowed to register actions. + +```yaml +backend: + actions: + pluginSources: + - catalog +### Filtering actions + +In addition to plugin-level restrictions, the Actions Service supports filtering actions using include and exclude rules. This allows fine-grained control over which actions are exposed or runnable in a Backstage instance. + +#### Include specific actions + +```yaml +backend: + actions: + filter: + include: + - 'catalog.*' +#### Exclude specific actions +backend: + actions: + filter: + exclude: + - 'scaffolder.internal.*' ## Using the Service From 1dfedaa7319a742a777a6b5c38cb70c00a1c3b19 Mon Sep 17 00:00:00 2001 From: Siddhi Khandelwal Date: Mon, 9 Feb 2026 12:05:32 +0530 Subject: [PATCH 2/4] docs: format Actions Service docs with Prettier Signed-off-by: Siddhi Khandelwal --- docs/backend-system/core-services/actions.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/backend-system/core-services/actions.md b/docs/backend-system/core-services/actions.md index b7e545f038..a82bb6955c 100644 --- a/docs/backend-system/core-services/actions.md +++ b/docs/backend-system/core-services/actions.md @@ -38,11 +38,12 @@ backend: pluginSources: - catalog ``` + ### Restricting action sources by plugin The `pluginSources` configuration limits which plugins are allowed to register actions. -```yaml +````yaml backend: actions: pluginSources: @@ -102,7 +103,7 @@ export async function listAvailableActions( throw error; } } -``` +```` ### Invoking an Action From 31c4ffeb40b37e858db8750509c24c61223af2fd Mon Sep 17 00:00:00 2001 From: Siddhi Khandelwal Date: Tue, 10 Feb 2026 22:57:18 +0530 Subject: [PATCH 3/4] docs(actions): fix yaml code block formatting Signed-off-by: Siddhi Khandelwal --- docs/backend-system/core-services/actions.md | 22 +++++++++----------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/backend-system/core-services/actions.md b/docs/backend-system/core-services/actions.md index a82bb6955c..0122bf2649 100644 --- a/docs/backend-system/core-services/actions.md +++ b/docs/backend-system/core-services/actions.md @@ -30,7 +30,9 @@ This naming convention ensures that action names are globally unique across all ## Configuration -The Actions Service can be configured to control which plugins' actions are available: +### Restricting action sources by plugin + +The `pluginSources` configuration limits which plugins are allowed to register actions. ```yaml backend: @@ -39,15 +41,6 @@ backend: - catalog ``` -### Restricting action sources by plugin - -The `pluginSources` configuration limits which plugins are allowed to register actions. - -````yaml -backend: - actions: - pluginSources: - - catalog ### Filtering actions In addition to plugin-level restrictions, the Actions Service supports filtering actions using include and exclude rules. This allows fine-grained control over which actions are exposed or runnable in a Backstage instance. @@ -60,12 +53,17 @@ backend: filter: include: - 'catalog.*' -#### Exclude specific actions +``` + +#### Exclude specific actionspwd + +```yaml backend: actions: filter: exclude: - 'scaffolder.internal.*' +``` ## Using the Service @@ -103,7 +101,7 @@ export async function listAvailableActions( throw error; } } -```` +``` ### Invoking an Action From 722546afae2a0ec3f9f3b749069440a3117c14cb Mon Sep 17 00:00:00 2001 From: Siddhi Khandelwal Date: Fri, 13 Feb 2026 12:22:36 +0530 Subject: [PATCH 4/4] docs: fix typo in section heading Signed-off-by: Siddhi Khandelwal --- docs/backend-system/core-services/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/backend-system/core-services/actions.md b/docs/backend-system/core-services/actions.md index 0122bf2649..02f8b65591 100644 --- a/docs/backend-system/core-services/actions.md +++ b/docs/backend-system/core-services/actions.md @@ -55,7 +55,7 @@ backend: - 'catalog.*' ``` -#### Exclude specific actionspwd +#### Exclude specific actions ```yaml backend: