mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Fix Marvin token generation (#1416)
This commit is contained in:
parent
9b31972e52
commit
2ef4b5b4dc
1 changed files with 6 additions and 6 deletions
12
.github/workflows/marvin.yml
vendored
12
.github/workflows/marvin.yml
vendored
|
|
@ -36,9 +36,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get Marvin app token
|
||||
id: mtoken
|
||||
uses: tibdex/github-app-token@v2
|
||||
- name: Generate Marvin App token
|
||||
id: marvin-token
|
||||
uses: actions/create-github-app-token@v1
|
||||
with:
|
||||
app_id: ${{ secrets.MARVIN_APP_ID }}
|
||||
private_key: ${{ secrets.MARVIN_APP_PRIVATE_KEY }}
|
||||
|
|
@ -55,7 +55,7 @@ jobs:
|
|||
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '/marvin'))
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
github-token: ${{ steps.marvin-token.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
mode: tag
|
||||
trigger_phrase: "/marvin"
|
||||
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
(github.event_name == 'discussion_comment' && contains(github.event.comment.body, '@Marvin Context Protocol'))
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
github-token: ${{ steps.marvin-token.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
mode: tag
|
||||
trigger_phrase: "@Marvin Context Protocol"
|
||||
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
(github.event_name == 'issues' && github.event.action == 'labeled' && github.event.label.name == 'marvin')
|
||||
uses: anthropics/claude-code-action@beta
|
||||
with:
|
||||
github-token: ${{ steps.mtoken.outputs.token }}
|
||||
github-token: ${{ steps.marvin-token.outputs.token }}
|
||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
mode: tag
|
||||
assignee_trigger: "Marvin Context Protocol"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue