mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 14:04:18 +02:00
Update Marvin's claude code action version (#1415)
This commit is contained in:
parent
aa41c56e17
commit
9b31972e52
1 changed files with 7 additions and 6 deletions
13
.github/workflows/marvin.yml
vendored
13
.github/workflows/marvin.yml
vendored
|
|
@ -44,7 +44,8 @@ jobs:
|
|||
private_key: ${{ secrets.MARVIN_APP_PRIVATE_KEY }}
|
||||
|
||||
# /marvin slash command
|
||||
- name: Claude Code (/marvin)
|
||||
|
||||
- name: Marvin (/marvin)
|
||||
if: |
|
||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '/marvin')) ||
|
||||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '/marvin')) ||
|
||||
|
|
@ -52,7 +53,7 @@ jobs:
|
|||
(github.event_name == 'issues' && (contains(github.event.issue.body, '/marvin') || contains(github.event.issue.title, '/marvin'))) ||
|
||||
(github.event_name == 'discussion' && (contains(github.event.discussion.body, '/marvin') || contains(github.event.discussion.title, '/marvin'))) ||
|
||||
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '/marvin'))
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
|
|
@ -61,7 +62,7 @@ jobs:
|
|||
allowed_bots: "*"
|
||||
|
||||
# @Marvin Context Protocol mention
|
||||
- name: Claude Code (@Marvin Context Protocol)
|
||||
- name: Marvin (@Marvin Context Protocol)
|
||||
if: |
|
||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@Marvin Context Protocol')) ||
|
||||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@Marvin Context Protocol')) ||
|
||||
|
|
@ -69,7 +70,7 @@ jobs:
|
|||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@Marvin Context Protocol') || contains(github.event.issue.title, '@Marvin Context Protocol'))) ||
|
||||
(github.event_name == 'discussion' && (contains(github.event.discussion.body, '@Marvin Context Protocol') || contains(github.event.discussion.title, '@Marvin Context Protocol'))) ||
|
||||
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@Marvin Context Protocol'))
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
|
|
@ -77,11 +78,11 @@ jobs:
|
|||
trigger_phrase: "@Marvin Context Protocol"
|
||||
|
||||
# Optional: assignment/label triggers
|
||||
- name: Claude Code (assignee/label)
|
||||
- name: Marvin (assignee/label)
|
||||
if: |
|
||||
(github.event_name == 'issues' && github.event.action == 'assigned' && github.event.assignee.login == 'Marvin Context Protocol') ||
|
||||
(github.event_name == 'issues' && github.event.action == 'labeled' && github.event.label.name == 'marvin')
|
||||
uses: anthropics/claude-code-action@v1
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue