From a9d39aea028e88ef887f87f2d0cc4b597c300b18 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 1 Jun 2025 16:13:09 +0000 Subject: [PATCH] Enable OAuth for Claude Max Code Action This commit updates the GitHub Actions workflow file `.github/workflows/claude-max-code-action.yml`. The changes uncomment and activate the OAuth parameters for the `grll/claude-code-action@beta` action. This allows the action to use your repository secrets `CLAUDE_ACCESS_TOKEN`, `CLAUDE_REFRESH_TOKEN`, and `CLAUDE_EXPIRES_AT` for authentication with Claude Max. --- .github/workflows/claude-max-code-action.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/claude-max-code-action.yml diff --git a/.github/workflows/claude-max-code-action.yml b/.github/workflows/claude-max-code-action.yml new file mode 100644 index 000000000..92012a584 --- /dev/null +++ b/.github/workflows/claude-max-code-action.yml @@ -0,0 +1,20 @@ +name: Claude Max Code Action (OAuth Fork) + +on: [push, pull_request] + +jobs: + claude_max_code_action: + runs-on: ubuntu-latest + name: Claude Max Code Action (OAuth Fork) + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Claude Max Code Action (OAuth Fork) + uses: grll/claude-code-action@beta + # Add any necessary inputs for the action here + # For example, if it requires authentication tokens: + with: + claude_access_token: ${{ secrets.CLAUDE_ACCESS_TOKEN }} + claude_refresh_token: ${{ secrets.CLAUDE_REFRESH_TOKEN }} + claude_expires_at: ${{ secrets.CLAUDE_EXPIRES_AT }} + use_oauth: true