generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
I think there is something wrong with the enable-mcp-server feature in this GitHub Action. I was going to set up a workflow and got this error
Warning: Failed to connect to GitHub MCP server: Error: Error POSTing to endpoint (HTTP 400): bad request: Authorization header is badly formatted
Warning: MCP connection failed, falling back to simple inference
Here is my workflow file
name: AI Similar issues
on:
issues:
types: [opened]
permissions:
contents: read
issues: write
models: read
jobs:
find-similar-issues:
runs-on: ubuntu-latest
steps:
- name: Find similar issues
id: find-similar-issues
uses: actions/ai-inference@v2
with:
enable-github-mcp: true
prompt: |
A new GitHub Issue was just opened (issue number: ${{ github.event.issue.number }} )
Your job is to find any similar issues in this repository and prepare a GitHub markdown styled comment.
The comment should include links to all issues that you find relevant (e.g they report the same bug, request the same feature).
Respond with nothing else but the comment text
If there are no similar issues found, respond with "NONE"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels