File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -84,23 +84,24 @@ steps:
84
84
85
85
This action now supports **read-only** integration with the GitHub-hosted Model
86
86
Context Protocol (MCP) server, which provides access to GitHub tools like
87
- repository management, issue tracking, and pull request operations.
87
+ repository management, issue tracking, and pull request operations
88
88
89
89
` ` ` yaml
90
90
steps :
91
91
- name : AI Inference with GitHub Tools
92
92
id : inference
93
- uses : actions/ai-inference@v1
93
+ uses : actions/ai-inference@v1.2
94
94
with :
95
95
prompt : ' List my open pull requests and create a summary'
96
96
enable-github-mcp : true
97
+ token : ${{ secrets.USER_PAT }}
97
98
` ` `
98
99
99
100
When MCP is enabled, the AI model will have access to GitHub tools and can
100
101
perform actions like searching issues and PRs.
101
102
102
- **Note:** MCP integration requires your workflow token to have appropriate
103
- GitHub permissions for the operations the AI will perform .
103
+ **Note:** For now, MCP integration cannot be used with the built-in token. You
104
+ must pass a GitHub PAT into ` token:` instead .
104
105
105
106
# # Inputs
106
107
You can’t perform that action at this time.
0 commit comments