update docs
This commit is contained in:
@@ -168,7 +168,7 @@ steps:
|
|||||||
token: ${{ secrets.USER_PAT }}
|
token: ${{ secrets.USER_PAT }}
|
||||||
```
|
```
|
||||||
|
|
||||||
For enhanced security, you can use separate tokens for the AI inference endpoint
|
If you want, yu can use separate tokens for the AI inference endpoint
|
||||||
and the GitHub MCP server:
|
and the GitHub MCP server:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -179,16 +179,13 @@ steps:
|
|||||||
with:
|
with:
|
||||||
prompt: 'List my open pull requests and create a summary'
|
prompt: 'List my open pull requests and create a summary'
|
||||||
enable-github-mcp: true
|
enable-github-mcp: true
|
||||||
token: ${{ secrets.AI_INFERENCE_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
github-mcp-token: ${{ secrets.GITHUB_MCP_TOKEN }}
|
github-mcp-token: ${{ secrets.USER_PAT }}
|
||||||
```
|
```
|
||||||
|
|
||||||
When MCP is enabled, the AI model will have access to GitHub tools and can
|
When MCP is enabled, the AI model will have access to GitHub tools and can
|
||||||
perform actions like searching issues and PRs.
|
perform actions like searching issues and PRs.
|
||||||
|
|
||||||
**Note:** You can use the built-in `GITHUB_TOKEN`, or provide a separate GitHub
|
|
||||||
PAT via `github-mcp-token` for tighter security and permissions control.
|
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
Various inputs are defined in [`action.yml`](action.yml) to let you configure
|
Various inputs are defined in [`action.yml`](action.yml) to let you configure
|
||||||
|
|||||||
Reference in New Issue
Block a user