From ed8de3b4e4af2ba6119ba5a7a94c2c5c2310c9a4 Mon Sep 17 00:00:00 2001 From: MervinPraison Date: Mon, 16 Jun 2025 07:12:10 +0100 Subject: [PATCH] Update Claude Code action to use GitHub token for authentication, enhancing security and consistency in the workflow. --- .github/workflows/claude.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 19ce9ac2f..79c10fd4a 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -37,13 +37,13 @@ jobs: uses: docker/login-action@v3 with: registry: ghcr.io - username: MervinPraison - password: ${{ secrets.GH_TOKEN }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Run Claude Code id: claude uses: ./.github/actions/claude-code-action with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - github_token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }}