Update Marvin's claude code action version (#1415)

This commit is contained in:
Jeremiah Lowin 2025-08-08 17:09:24 -04:00 committed by GitHub
commit 9b31972e52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}