From 90e4e6855e0f502bcafed25cea6f9455d6c21003 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 19 Dec 2025 23:25:45 +0000 Subject: [PATCH 1/2] Initial plan From c235934059809a815e1afa08dcaa289bfacdad6c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 19 Dec 2025 23:39:20 +0000 Subject: [PATCH 2/2] Add info message for GitHub MCP projects toolset token requirement Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/compiler.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/workflow/compiler.go b/pkg/workflow/compiler.go index f41732d702c..60459cfdf5f 100644 --- a/pkg/workflow/compiler.go +++ b/pkg/workflow/compiler.go @@ -197,6 +197,15 @@ func (c *Compiler) CompileWorkflowData(workflowData *WorkflowData, markdownPath }) return errors.New(formattedErr) } + + // Print informational message if "projects" toolset is used + for _, toolset := range enabledToolsets { + if toolset == "projects" { + fmt.Fprintln(os.Stderr, console.FormatInfoMessage("The 'projects' toolset requires a GitHub token with organization Projects permissions.")) + fmt.Fprintln(os.Stderr, console.FormatInfoMessage("See: https://githubnext.github.io/gh-aw/reference/tokens/#gh_aw_project_github_token-github-projects-v2")) + break + } + } } // Validate permissions for agentic-workflows tool