From 2ef4b5b4dc3a3b72b6425620a94ed40ac996a773 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Fri, 8 Aug 2025 17:12:23 -0400 Subject: [PATCH] Fix Marvin token generation (#1416) --- .github/workflows/marvin.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/marvin.yml b/.github/workflows/marvin.yml index 5dde09a8e..ff750c340 100644 --- a/.github/workflows/marvin.yml +++ b/.github/workflows/marvin.yml @@ -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"