Skip to content

Commit 0df9647

Browse files
authored
Merge pull request #60 from actions/sgoedecke/update-readme
Update readme to say MCP needs a PAT
2 parents ce58b26 + 446f075 commit 0df9647

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,18 @@ repository management, issue tracking, and pull request operations.
9090
steps:
9191
- name: AI Inference with GitHub Tools
9292
id: inference
93-
uses: actions/ai-inference@v1
93+
uses: actions/ai-inference@v1.2
9494
with:
9595
prompt: 'List my open pull requests and create a summary'
9696
enable-github-mcp: true
97+
token: ${{ secrets.USER_PAT }}
9798
```
9899
99100
When MCP is enabled, the AI model will have access to GitHub tools and can
100101
perform actions like searching issues and PRs.
101102
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.
104105

105106
## Inputs
106107

0 commit comments

Comments
 (0)