Skip to content

🚀 The fast, Pythonic way to build MCP servers and clients.

Fix marvin label triage for non-contributors

William Easton22e5a1671478
diff --git a/.github/workflows/marvin-label-triage.yml b/.github/workflows/marvin-label-triage.yml
index 8d92702d4..64d91eada 100644
--- a/.github/workflows/marvin-label-triage.yml
+++ b/.github/workflows/marvin-label-triage.yml
@@ -1,5 +1,6 @@
name: Marvin Label Triage
-description: Automatically triage GitHub issues and PRs using Marvin
+# Automatically triage GitHub issues and PRs using Marvin
+
on:
issues:
types: [opened]
@@ -17,7 +18,7 @@ concurrency:
cancel-in-progress: false
jobs:
- triage-issue:
+ label-issue-or-pr:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
@@ -123,13 +124,14 @@ jobs:
PROMPT_END
EOF
- - name: Run Marvin for Issue Triage
+ - name: Run Marvin for Issue Triage
uses: anthropics/claude-code-action@v1
with:
github_token: ${{ steps.marvin-token.outputs.token }}
bot_name: "Marvin Context Protocol"
prompt: ${{ steps.triage-prompt.outputs.PROMPT }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY_FOR_CI }}
+ allowed_non_write_users: "*" # Required for issue triage workflow, if users without repo write access create issues
claude_args: |
--allowedTools Bash(gh label list),mcp__github__get_issue,mcp__github__get_issue_comments,mcp__github__update_issue,mcp__github__get_pull_request_files
--mcp-config /tmp/mcp-config/mcp-servers.json