Report broken MCP entry: navisbio/mcp_motherduck #853
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MCP Broken Entry Report Draft PR | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| concurrency: | |
| group: mcp-broken-entry-report-pr-${{ github.event.issue.number }} | |
| cancel-in-progress: false | |
| jobs: | |
| draft-pr: | |
| name: Draft broken-entry report PR | |
| if: contains(github.event.issue.labels.*.name, 'broken-entry') || startsWith(github.event.issue.title, 'Report broken MCP entry:') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: main | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Resolve automation token | |
| id: automation-token | |
| uses: ./.github/actions/create-automation-token | |
| with: | |
| app-client-id: ${{ vars.MCP_AUTOMATION_APP_CLIENT_ID }} | |
| app-private-key: ${{ secrets.MCP_AUTOMATION_APP_PRIVATE_KEY }} | |
| fallback-token: ${{ secrets.MCP_AUTOMATION_TOKEN || github.token }} | |
| - name: Create or update draft broken-entry report PR | |
| run: node .github/scripts/create-broken-entry-report-pr.mjs | |
| env: | |
| GITHUB_TOKEN: ${{ steps.automation-token.outputs.token }} |