From ba509f92756e8683c9a89d1a9da57103553ace26 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Wed, 16 Jul 2025 07:51:13 +0000 Subject: [PATCH 1/2] update readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c739fb3..2e18989 100644 --- a/README.md +++ b/README.md @@ -84,23 +84,24 @@ steps: This action now supports **read-only** integration with the GitHub-hosted Model Context Protocol (MCP) server, which provides access to GitHub tools like -repository management, issue tracking, and pull request operations. +repository management, issue tracking, and pull request operations ```yaml steps: - name: AI Inference with GitHub Tools id: inference - uses: actions/ai-inference@v1 + uses: actions/ai-inference@v1.2 with: prompt: 'List my open pull requests and create a summary' enable-github-mcp: true + token: ${{ secrets.USER_PAT }} ``` When MCP is enabled, the AI model will have access to GitHub tools and can perform actions like searching issues and PRs. -**Note:** MCP integration requires your workflow token to have appropriate -GitHub permissions for the operations the AI will perform. +**Note:** For now, MCP integration cannot be used with the built-in token. You +must pass a GitHub PAT into `token:` instead. ## Inputs From 29b5f08d0f07c53aafdd6a2812747fe0b1c34980 Mon Sep 17 00:00:00 2001 From: Sean Goedecke Date: Mon, 21 Jul 2025 13:50:38 +1000 Subject: [PATCH 2/2] Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e18989..57b3533 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ steps: This action now supports **read-only** integration with the GitHub-hosted Model Context Protocol (MCP) server, which provides access to GitHub tools like -repository management, issue tracking, and pull request operations +repository management, issue tracking, and pull request operations. ```yaml steps: