File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ steps:
168
168
token: ${{ secrets.USER_PAT }}
169
169
` ` `
170
170
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
172
172
and the GitHub MCP server :
173
173
174
174
` ` ` yaml
@@ -179,16 +179,13 @@ steps:
179
179
with:
180
180
prompt: 'List my open pull requests and create a summary'
181
181
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 }}
184
184
` ` `
185
185
186
186
When MCP is enabled, the AI model will have access to GitHub tools and can
187
187
perform actions like searching issues and PRs.
188
188
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
-
192
189
# # Inputs
193
190
194
191
Various inputs are defined in [`action.yml`](action.yml) to let you configure
You can’t perform that action at this time.
0 commit comments