Skip to content

Commit b9f9444

Browse files
committed
update docs
1 parent 419f171 commit b9f9444

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ steps:
168168
token: ${{ secrets.USER_PAT }}
169169
```
170170

171-
For enhanced security, you can use separate tokens for the AI inference endpoint
171+
If you want, yu can use separate tokens for the AI inference endpoint
172172
and the GitHub MCP server:
173173

174174
```yaml
@@ -179,16 +179,13 @@ steps:
179179
with:
180180
prompt: 'List my open pull requests and create a summary'
181181
enable-github-mcp: true
182-
token: ${{ secrets.AI_INFERENCE_TOKEN }}
183-
github-mcp-token: ${{ secrets.GITHUB_MCP_TOKEN }}
182+
token: ${{ secrets.GITHUB_TOKEN }}
183+
github-mcp-token: ${{ secrets.USER_PAT }}
184184
```
185185

186186
When MCP is enabled, the AI model will have access to GitHub tools and can
187187
perform actions like searching issues and PRs.
188188

189-
**Note:** You can use the built-in `GITHUB_TOKEN`, or provide a separate GitHub
190-
PAT via `github-mcp-token` for tighter security and permissions control.
191-
192189
## Inputs
193190

194191
Various inputs are defined in [`action.yml`](action.yml) to let you configure

0 commit comments

Comments
 (0)