From de68a7cce007882c19614f60b42663926918dde1 Mon Sep 17 00:00:00 2001 From: arolson Date: Mon, 23 Nov 2026 08:10:06 -0800 Subject: [PATCH] docs: clarify actions run trigger behavior --- README.md | 2 +- pkg/github/__toolsnaps__/actions_run_trigger.snap | 4 ++-- pkg/github/actions.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 166dbe0c9c..3d215fafa5 100644 --- a/README.md +++ b/README.md @@ -701,7 +701,7 @@ For negotiated supported protocol versions `2026-07-28` or newer, the consolidat - `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs' (object, optional) - `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs' (object, optional) -- **actions_run_trigger** - Trigger GitHub Actions workflow actions +- **actions_run_trigger** - Run or manage workflows - **OAuth Challenge Scopes**: `repo` - `inputs`: Inputs the workflow accepts. Only used for 'run_workflow' method. (object, optional) - `method`: The method to execute (string, required) diff --git a/pkg/github/__toolsnaps__/actions_run_trigger.snap b/pkg/github/__toolsnaps__/actions_run_trigger.snap index 21387727ee..5a9b5862a5 100644 --- a/pkg/github/__toolsnaps__/actions_run_trigger.snap +++ b/pkg/github/__toolsnaps__/actions_run_trigger.snap @@ -3,9 +3,9 @@ "destructiveHint": true, "idempotentHint": false, "readOnlyHint": false, - "title": "Trigger GitHub Actions workflow actions" + "title": "Run or manage workflows" }, - "description": "Trigger GitHub Actions workflow operations, including running, re-running, cancelling workflow runs, and deleting workflow run logs.", + "description": "Run or manage GitHub Actions workflows. Supports starting a workflow, rerunning a workflow or failed jobs, cancelling a workflow run, and permanently deleting workflow run logs. Successful calls return an operation-specific JSON confirmation with identifiers and the GitHub response status.", "inputSchema": { "properties": { "inputs": { diff --git a/pkg/github/actions.go b/pkg/github/actions.go index dc71ab5261..347fbeeaef 100644 --- a/pkg/github/actions.go +++ b/pkg/github/actions.go @@ -482,9 +482,9 @@ func ActionsRunTrigger(t translations.TranslationHelperFunc) inventory.ServerToo mcp.Tool{ Name: "actions_run_trigger", OutputSchema: actionsRunTriggerOutputSchema(), - Description: t("TOOL_ACTIONS_RUN_TRIGGER_DESCRIPTION", "Trigger GitHub Actions workflow operations, including running, re-running, cancelling workflow runs, and deleting workflow run logs."), + Description: t("TOOL_ACTIONS_RUN_TRIGGER_DESCRIPTION", `Run or manage GitHub Actions workflows. Supports starting a workflow, rerunning a workflow or failed jobs, cancelling a workflow run, and permanently deleting workflow run logs. Successful calls return an operation-specific JSON confirmation with identifiers and the GitHub response status.`), Annotations: &mcp.ToolAnnotations{ - Title: t("TOOL_ACTIONS_RUN_TRIGGER_USER_TITLE", "Trigger GitHub Actions workflow actions"), + Title: t("TOOL_ACTIONS_RUN_TRIGGER_USER_TITLE", "Run or manage workflows"), ReadOnlyHint: false, DestructiveHint: new(true), },